simple-oracledb
Advanced tools
Comparing version 1.1.76 to 1.1.77
| Date | Version | Description | | ||
| ----------- | ------- | ----------- | | ||
| 2017-05-01 | v1.1.76 | Maintenance | | ||
| 2017-05-15 | v1.1.77 | Maintenance | | ||
| 2017-01-20 | v1.1.57 | connection.run, connection.transaction and oracledb.run actions can now return a promise instead of using a callback | | ||
@@ -5,0 +5,0 @@ | 2017-01-14 | v1.1.56 | pool.run actions now can return a promise instead of using a callback | |
@@ -57,2 +57,3 @@ 'use strict'; | ||
* @param {Number} [options.bulkRowsAmount=100] - The amount of rows to fetch | ||
* @param {Number} [options.flattenStackEveryRows=Math.max(1, Math.floor(100 / columnNames.length))] - The amount of rows after which the JS stack is flattened, low number can result in performance impact, high number can result in stack overflow error | ||
* @param {AsyncCallback} callback - called when the next rows have been read | ||
@@ -95,2 +96,4 @@ */ | ||
* @param {Object} options - Any options | ||
* @param {Number} [options.bulkRowsAmount=100] - The amount of rows to fetch | ||
* @param {Number} [options.flattenStackEveryRows] - The amount of rows after which the JS stack is flattened, low number can result in performance impact, high number can result in stack overflow error | ||
* @param {AsyncCallback} callback - called when all rows are fully read or in case of an error | ||
@@ -97,0 +100,0 @@ * @param {Array} [jsRowsBuffer] - The result buffer, if not provided, the callback will be called for each bulk |
@@ -28,3 +28,3 @@ 'use strict'; | ||
* @param {Object} [options] - Options holder | ||
* @param {Number} [options.flattenStackEveryRows=20] - The amount of rows after which the JS stack is flattened, low number can result in performance impact, high number can result in stack overflow error | ||
* @param {Number} [options.flattenStackEveryRows=Math.max(1, Math.floor(100 / columnNames.length))] - The amount of rows after which the JS stack is flattened, low number can result in performance impact, high number can result in stack overflow error | ||
* @returns {Number} The rows count | ||
@@ -94,3 +94,3 @@ */ | ||
* @param {Object} [options] - Options holder | ||
* @param {Number} [options.flattenStackEveryRows=20] - The amount of rows after which the JS stack is flattened, low number can result in performance impact, high number can result in stack overflow error | ||
* @param {Number} [options.flattenStackEveryRows] - The amount of rows after which the JS stack is flattened, low number can result in performance impact, high number can result in stack overflow error | ||
* @param {AsyncCallback} callback - called when all rows are fully read or in case of an error | ||
@@ -107,3 +107,3 @@ */ | ||
options = options || {}; | ||
var flattenStackEveryRows = options.flattenStackEveryRows || Math.max(1, Math.floor(100 / columnNames.length)); | ||
var flattenStackEveryRows = this.getFlattenRowsCount(columnNames, options); | ||
@@ -110,0 +110,0 @@ if (rows && rows.length) { |
{ | ||
"name": "simple-oracledb", | ||
"version": "1.1.76", | ||
"version": "1.1.77", | ||
"description": "Extend capabilities of oracledb with simplified API for quicker development.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -1147,3 +1147,3 @@ # simple-oracledb | ||
| ----------- | ------- | ----------- | | ||
| 2017-05-01 | v1.1.76 | Maintenance | | ||
| 2017-05-15 | v1.1.77 | Maintenance | | ||
| 2017-01-20 | v1.1.57 | connection.run, connection.transaction and oracledb.run actions can now return a promise instead of using a callback | | ||
@@ -1150,0 +1150,0 @@ | 2017-01-14 | v1.1.56 | pool.run actions now can return a promise instead of using a callback | |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
322581
4118