893 Commits

Author SHA1 Message Date
Ferris
0a5a6231c0 Fixing formatting 2025-05-19 08:22:33 -04:00
Ferris
19432b0717 Issue #6201: Add support for Spanner Postgres 2025-05-19 06:59:58 -04:00
Oli
e685b70ff1
Import knex as type in TS seed template (#6094) 2025-01-05 19:28:37 +02:00
Adrien Poupa
bfd1cba2d1
fix: Fix The operator "<=>" is not permitted in MySQL (#6158)
See https://dev.mysql.com/doc/refman/8.4/en/comparison-operators.html#operator_equal-to
2025-01-05 19:14:20 +02:00
beltschatsar
176151d804
fix: recover from broken connection (#5774) 2024-05-14 16:12:31 +03:00
Mustafa Balila
9659a20753
Fix whereILike issue with sqlite (#5604) (#5687)
Co-authored-by: Raz Luvaton <16746759+rluvaton@users.noreply.github.com>
2024-04-07 17:33:41 +03:00
Timothy Ng
3764ded568
Add migration lifecycle hooks (#5541)
Co-authored-by: Raz Luvaton <16746759+rluvaton@users.noreply.github.com>
2024-01-13 21:16:28 +02:00
Igor Savin
ca3dd19f4f Commit compiled files 2023-12-08 01:09:44 +02:00
Rotem Bloom
7b7fef55e8
fix error on postgres when setting query_timeout (#5673) 2023-11-29 21:53:14 +02:00
Casey Foster
d908f09d17
Add transactor.parentTransaction (#5567) 2023-11-29 21:51:44 +02:00
davidf84
770b2f20ac
Fixed issue with bigincrements not working with composite primary key in MySQL - #5341 (#5343)
Co-authored-by: David Farrugia <david.farrugia@sagossgroup.com>
2023-11-29 02:10:12 +02:00
Flamur Kasa
0a29f6c5d0
fix andWhereNotJsonObject calling wrong function (#5683) 2023-11-28 17:19:19 +02:00
ROUL
57419fbbea
Missing comments on delete, update and insert (#5738)
Co-authored-by: Igor Savin <iselwin@gmail.com>
2023-11-28 02:19:51 +02:00
Oli
af0e9c1650
Import knex as type in TS migration template (#5741)
Co-authored-by: Igor Savin <iselwin@gmail.com>
2023-11-28 02:16:50 +02:00
Alex Vershinin
04642dab63
MySQL dialect: added implementation for upsert (#5743)
Co-authored-by: Igor Savin <iselwin@gmail.com>
2023-11-28 02:14:36 +02:00
Kyler Nelson
82f43d53ab
Support Object Names Greater than 30 Characters for Oracle DB Versions 12.2 and Greater (#5197)
Co-authored-by: Drew Royster <drew.124@gmail.com>
Co-authored-by: Kendra Bryant <kendraa@utahcounty.gov>
Co-authored-by: Matt Bailey <bailey.matthewr@gmail.com>
2023-10-17 02:31:38 +03:00
Kyler Nelson
5ececd35c9
Fix driver options specified with .options() method being ignored for oracledb dialect (#5123)
Co-authored-by: Matt Bailey <bailey.matthewr@gmail.com>
2023-07-19 23:09:36 +02:00
Kyler Nelson
daeec25173
Fix migrate:unlock when used with custom identifier wrapping. (#5353)
Co-authored-by: Matt Bailey <bailey.matthewr@gmail.com>
2023-07-19 23:07:19 +02:00
Ricardo Costa
a37f4f1fb8
Improve linting (#5460)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2023-07-12 22:42:57 +02:00
André Ricardo
440fe50a1e
Add uuid helper function (#5617) 2023-07-08 14:54:15 +02:00
Warren Seymour
61ee5338b3
feat(pg): implement QueryBuilder#updateFrom (#5386) 2023-07-06 13:31:28 +02:00
Luke Stevens
d96bc191e3
fix: handle numeric array elements in .orderBy() (#5551) 2023-07-04 22:23:01 +02:00
Luke Stevens
e7dc724fcf
fix: attach error handler early enough (#5552) 2023-07-04 21:53:19 +02:00
Linda Xu
2a6c20f27c
fix #3837 so that update with returning * actually returns an object isntead of the number of rows. Also fixes returning * when within a transaction (#5598)
Co-authored-by: Linda Xu <linda_xu2@apple.com>
2023-07-04 21:34:35 +02:00
Andy Wooldridge
2da5822fe4
fix: creating a unique index in postgres using the index method (#5601) 2023-07-04 12:59:17 +02:00
Andrés Correa Casablanca
f6ea8122b6
fix(security): avoid password leaks on query logs (#5559)
Signed-off-by: Andres Correa Casablanca <castarco@coderspirit.xyz>
2023-07-03 21:03:27 +02:00
Erin Dees
dab051b6da
Add readonly option to Better-SQLite3 (#5530)
Co-authored-by: Adam Haglund <ahaglund@paypal.com>
2023-06-25 21:30:11 +02:00
Olivier Cavadenti
0f8bbe92b5
Mysql2 require breaks with Node 12 (#5579) 2023-06-20 12:34:42 +03:00
Shean de Montigny-Desautels
5ffe289c33
fix() manually close source stream (#5466) 2023-05-31 17:53:27 +02:00
François de Metz
704d12e9ba
Add ability to prepend query comments (#5289)
Co-authored-by: Ryan Fink <ryanjfink@gmail.com>
2023-04-14 06:07:05 +02:00
Zhang Yidong
ab1f9ae372
[Sqlite3] Fix can not get table sql because of case sensitive (#5509)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2023-03-30 18:15:04 +02:00
ian
8ea5690bac
Use implicit check on json fields for OracleDB (#5478) 2023-03-29 23:45:19 +02:00
Deirdre Sweeney
4d5ae61bfe
[ISSUE-5350] Create EXCEPT as a valid keyword (#5357) 2023-03-29 14:03:59 +02:00
Omar Abdelkader
570a7eae48
Add readonly transaction access mode (#5445) 2023-03-29 13:59:05 +02:00
Adam Haglund
ac59ab7bb6
Add nativeBindings option to better-sqlite3 options (#5461) 2023-03-28 22:12:05 +02:00
Igor Savin
9a6c5ba62f
Additional lint checks before publishing (#5459) 2023-01-22 16:13:24 +02:00
Loren
1f2de49fbe
Fix Postgres Malformed array literal 2.4.0 Regression (#5439) 2023-01-18 01:08:21 +02:00
Anton Savchenko
e145322da9
1227: add assertion for basic where clause values (#5417) 2023-01-05 23:27:49 +01:00
Richard
ab45314e70
Add JSDoc (TS Flavour) to mjs stub file (#5390) 2022-11-23 09:14:14 +01:00
Suhyeong Cho
72bd1f7396
Fix: orWhereJson (#5361) 2022-11-18 23:23:52 +01:00
Matt
4fc939a176
Fixes unexpected max acquire-timeout (#5377)
Important for applications where high pool contention is expected, and completion is favored over latency.

Co-authored-by: Matt <matt.goodson.business@gmail.com>
2022-11-17 09:53:16 +01:00
Kyler Nelson
5c4837cd4f
Fix lib/.gitignore path separator on Windows. (#5325) 2022-11-14 14:19:07 +01:00
Jakob Joonas
f7ccde80c9
Make compiling SQL in error message optional (#5282) 2022-09-23 09:39:15 +02:00
Mingo Zhuang
dc6dbbf900
fix: insert array into json column (#5321)
* fix: insert array into json column

* fix: determine array
2022-09-02 12:10:18 +02:00
abal
864530cd67
feat: support partial unique indexes (#5316) 2022-09-02 00:18:05 +03:00
Nicola Krumschmidt
6bed5e99dd
Fix changing the default value of a boolean column in SQLite (#5319) 2022-09-01 17:31:52 +03:00
Hasnae
97fccdff7d
Explicit jsonb support for custom pg clients (#5201)
Co-authored-by: Igor Savin <iselwin@gmail.com>
2022-08-31 22:16:17 +03:00
Lucas Bickel
1cc1df9c35
chore: remove bindingHolder for proper scoping (#5235) 2022-08-31 21:26:29 +03:00
Kelly Bourg
e0c0fa9358
Implement mapBinding mssql dialect option (#5292) 2022-08-31 21:25:25 +03:00
Simon Plenderleith
2dadde4214
Support returning with sqlite3 and better-sqlite3 (#5285) 2022-08-03 00:04:34 +03:00