99 Commits

Author SHA1 Message Date
38d8b76442 [misc] update TS file to ES module syntax 2025-07-11 19:22:26 +02:00
26646cd134 [CONJS-309] add TypeScript callback API #298 2025-07-01 18:12:09 +02:00
d8835d6c3e [misc] test addition: creating pool from connection string 2025-03-17 18:52:19 +01:00
793400e7a1 [CONJS-305] Connection close alias for end function not in typescript definition #300 2025-03-11 14:55:47 +01:00
e439eb1a4f [CONJS-302] TypeScript type definition file for SqlError constructor does not match actual constructor 2024-09-11 15:19:44 +02:00
5d72d14093 [CONJS-301] temporary disabling TLS identity validation until certificate automatic resolution 2024-09-09 19:48:37 +02:00
233d717fad [CONJS-298] Typescript wrong named longlong in place of bigint 2024-07-10 16:49:20 +02:00
fc5c75f970 Merge branch 'biginttype' into develop 2024-07-10 16:36:31 +02:00
4e6bf45272 [CONJS-297] adding testing for typescript connection queryTimeout and query timeout options 2024-07-10 16:30:44 +02:00
e747b275ef fix ConnectionConfig typing, revert QueryConfig typing changes 2024-05-16 13:26:22 +02:00
c8fe9ad0cf fix the typing of timeout to queryTimeout in interface QueryConfig 2024-05-16 12:55:04 +02:00
765b9848ae Add missing BIGINT Type enum 2024-05-16 05:55:21 +03:00
d0913b46e1 Add missing QueryOptions type to prepare function 2024-04-16 21:24:13 +02:00
7569425955 [misc] various small corrections
* code simplification
* correct missing parameters
* coherence
* removing deprecated use
2024-03-05 17:25:39 +01:00
7a77b16038 [misc] update copyright 2024-02-12 19:14:05 +01:00
9cae8adfd6 [CONJS-266] Option infileStreamFactory addition for compatibility 2023-09-07 15:00:08 +02:00
f690f0987e [CONJS-265] permit configuration of console warning message #249 2023-09-04 16:48:47 +02:00
7208a67755 [CONJS-261] TypeScript missing logParam connection option #247 2023-06-21 11:47:12 +00:00
bb5f90e905 [CONJS-259] adding SqlError sqlMessage property alias for text 2023-06-02 10:01:56 +02:00
d61d3c6ae8 [CONJS-258] All eventEmitters methods are not available on connections #244 2023-05-31 15:06:03 +02:00
a25d3b1d95 [CONJS-257] permit to import sql file directly #242 2023-05-29 10:35:27 +02:00
5032d97cf3 [CONJS-252] missing deprecated option supportBigNumbers and bigNumberStrings in Typescript #240 2023-05-10 15:08:17 +00:00
dd53f2ada5 [CONJS-249] add connection.listeners function to permit TypeORM compatibility 2023-05-02 11:10:13 +00:00
ba70356ae9 [CONJS-241] metaAsArray missing option in typescript description 2023-02-07 09:31:29 +01:00
13a3d75a57 [misc] test correction 2023-01-10 19:34:39 +01:00
58f4f2eb68 [CONJS-235] allow to pass TypeScript generic type 2023-01-10 14:42:09 +01:00
27b293e616 Merge branch 'p-kuen_patch-1' into develop 2023-01-10 14:30:51 +01:00
ab708e2e9e Allow to pass type to query function
This helps to set output type instead of using "as" afterwords.
2023-01-03 10:55:58 +01:00
8b51eb7904 [misc] code style correction 2022-10-19 19:22:56 +02:00
67e2ed9bee Merge branch 'master' into develop 2022-10-18 08:26:18 +02:00
7e8696f892 [misc] code coverage correction 2022-10-18 08:25:49 +02:00
104c400f90 merge 3.0.2 version 2022-10-17 15:42:09 +02:00
452d27894b [CONJS-222] permit streaming prepare statement result 2022-10-17 09:50:36 +02:00
ce0e775536 [CONJS-228] improving prepare cache performance 2022-10-12 14:53:23 +02:00
a606ed16ce [CONJS-226] add missing metaAsArray documentation and typescript option 2022-10-12 10:44:06 +02:00
6c7946c034 [CONJS-226] add missing metaAsArray documentation and typescript option 2022-10-11 11:59:59 +02:00
9c4562acf2 [CONJS-225] Make result set's meta property non-enumerable 2022-10-10 21:08:18 +02:00
5930cf3ce6 Merge branch 'types-checknumberrange' into develop 2022-10-10 13:33:20 +02:00
b0ed2135aa add checkNumberRange type defs 2022-10-06 12:04:39 +02:00
0f284918ed Merge branch 'maintenance/2.x' into develop
# Conflicts:
#	test/integration/test-auth-plugin.js
#	test/integration/test-pool-callback.js
#	types/index.d.ts
#	types/mariadb-tests.ts
2022-08-22 10:41:42 +02:00
378b5010b8 [CONJS-217] MySQL caching_sha2_password never succeed using FAST AUTHENTICATION 2022-08-22 10:34:27 +02:00
7972f08dc8 [CONJS-214] add missing pool.closed typescript definition 2022-08-18 14:45:31 +02:00
8c91a13f1f [misc] add code coverage 2022-08-18 14:41:42 +02:00
8e975c355d [misc] add typescript test coverage 2022-08-18 10:40:34 +02:00
c44640a819 [CONJS-199] return type for batch() is wrong on typescript #194 2022-08-18 10:30:04 +02:00
ebb3fefef1 [CONJS-199] return type for batch() is wrong on typescript 2022-07-18 10:22:19 +02:00
a484ccffaf [misc] various micro enhancement
* pool: connection validation check isValid, correcting cases when a connection wasn't valid returning no response.
* cluster:
** ensure that when option `canRetry` is enable to not loop eternally if pool doesn't have connection anymore
** cluster end promise really returns Promise when pools are closed
* add test for cluster with one node only / or one node working only
2022-06-16 12:25:00 +02:00
b484d42ce8 [misc] ensure pool connection is released only once 2022-06-13 13:41:30 +02:00
f204d9b02d docs: apply new default connectione timeout 2022-03-14 11:13:13 +01:00
7a2f6b34c8 misc - update maxscale test for 6.2.0
add PAM test for maxscale (using dedicated port)
2022-01-10 14:56:40 +01:00