You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[CONJS-172] performance improvement for multi-line result-set + update perf result with recent mysql/mysql2 drivers see [dedicated part](https://github.com/mariadb-corporation/mariadb-connector-nodejs/blob/maintenance/3.x/documentation/benchmarks.md) results.
9
9
*[CONJS-168] correct stream backpressure
10
10
*[CONJS-176] Change Pool cluster default option removeNodeErrorCount value to Infinity
11
11
*[CONJS-175] Missing leakDetectionTimeout option in Typescript description
12
-
12
+
*[CONJS-178] Update code to recent Ecma version
13
+
*[CONJS-179] better pool option `resetAfterUse` default value
14
+
*[CONJS-180] compatibility: support mysql2 `stream` option
15
+
*
13
16
* Corrections:
14
17
*[CONJS-125] permit using batch with returning clause
15
18
*[CONJS-170] Pool.query(undefined) never release connection
Copy file name to clipboardExpand all lines: documentation/connection-options.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -392,6 +392,44 @@ mariadb.createConnection({
392
392
|**restrictedAuth**| if set, restrict authentication plugin to secure list. Default provided plugins are mysql_native_password, mysql_clear_password, client_ed25519, dialog, sha256_password and caching_sha2_password |*Array|String*||
393
393
|**supportBigNumbers**| (deprecated) DECIMAL/BIGINT data type will be returned as number if in safe integer range, as string if not.|*boolean*| false |
394
394
|**bigNumberStrings**| (deprecated) if set with `supportBigNumbers` DECIMAL/BIGINT data type will be returned as string |*boolean*| false |
395
+
|**stream**| permits to set a function with parameter to set stream (since 3.0)|*function*||
396
+
397
+
### SSH tunnel
398
+
399
+
In some cases, server is only available through an SSH tunnel.
400
+
(This is of course not a recommended solution for production)
401
+
402
+
403
+
The option `stream` permit defined a tunnel. stream function has callback (optional parameters : error, stream).
0 commit comments