@goodware/mysql
Advanced tools
Comparing version 3.0.3 to 3.0.4
@@ -31,3 +31,3 @@ /* eslint-disable no-param-reassign */ | ||
* @description Schema for the 'options' object passed to MySqlConnector's constructor. See also | ||
* https://github.com/mysqljs/mysql#pool-options. | ||
* [mysql pool options](https://github.com/mysqljs/mysql#pool-options). | ||
*/ | ||
@@ -120,3 +120,4 @@ const optionsSchema = Joi.object({ | ||
* @constructor | ||
* @description Optionally call connect() afterward to check whether a connection can be acquired | ||
* @description Optionally call connect() afterward to check whether a connection can be acquired. See also | ||
* [mysql pool options](https://github.com/mysqljs/mysql#pool-options). | ||
* @param {Object} [options] Constructor options. Defaults are used if the provided value is falsy. | ||
@@ -135,3 +136,4 @@ * @param {Integer} [options.connectionLimit] The maximum number of connections to keep in the connection pool when | ||
* frequently (converted to milliseconds) connections are checked. Defaults to 10 seconds. | ||
* @param {Object|Function} [options.logger] A logger object or function | ||
* @param {Function|Object} [options.logger] A logger object or function. Can also be provided as the second | ||
* parameter. | ||
* @param {Number|String} [options.maxConnectDelay] The maximum amount of time (converted to milliseconds) to wait | ||
@@ -149,2 +151,3 @@ * between connection attempts. It starts at 10 ms and increases exponentially. Defaults to 100 seconds. | ||
* @param {Boolean} [options.usePool] true enables connection pooling | ||
* @param {Function|Object} logger A logger object or function. Can also be provided via options.logger. | ||
*/ | ||
@@ -151,0 +154,0 @@ constructor(options, logger) { |
{ | ||
"name": "@goodware/mysql", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "A mysql2-based connection helper", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1512344
1362