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
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
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
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
Olivier Cavadenti
cba2210fd3
linting
2023-03-29 20:38:55 +02:00
Deirdre Sweeney
4d5ae61bfe
[ISSUE-5350] Create EXCEPT as a valid keyword ( #5357 )
2023-03-29 14:03:59 +02:00
Minh TRINH
5caf526c27
tests(insert): add tests for json, text array, integer array ( #5451 )
2023-01-18 02:05:36 +02:00
Loren
1f2de49fbe
Fix Postgres Malformed array literal 2.4.0 Regression ( #5439 )
2023-01-18 01:08:21 +02:00
Suhyeong Cho
72bd1f7396
Fix: orWhereJson ( #5361 )
2022-11-18 23:23:52 +01:00
Simon Plenderleith
2dadde4214
Support returning with sqlite3 and better-sqlite3 ( #5285 )
2022-08-03 00:04:34 +03:00
David Garner
f33768ccdd
Fix unclosed stream connections ( #5243 )
...
* Destroy should not trigger an error. If there was an error, it is piped by the transform.
* fix: Close the database connection when a stream iterator fails
Co-authored-by: Daniel Cohen Gindi <danielgindi@gmail.com>
2022-07-14 16:14:05 +02:00
Connor Tumbleson
b20047bba5
Fixes Maria issue with 'NULL' returned instead of NULL on MariaDB 10.2.6+ ( #5181 )
2022-05-22 14:39:45 +02:00
Olivier Cavadenti
93f94d6410
Async/await in tests : all query integration files ( #5075 )
2022-03-29 14:04:34 +02:00
Olivier Cavadenti
c3e41e3d78
Wrapped Unions Fixes ( #5072 )
2022-03-19 13:05:52 +01:00
Olivier Cavadenti
4f7d920daa
Async/await in tests : selects.spec.js ( #5073 )
2022-03-19 12:42:44 +01:00
Olivier Cavadenti
b5dbe01363
Stringify json value in update ( #5063 )
2022-03-15 10:47:43 +01:00
Olivier Cavadenti
a906596f06
Rework Union Wrapping ( #5030 )
2022-03-07 13:45:58 +01:00
Olivier Cavadenti
e0a6e54141
Subquery in on clause missing parenthesis ( #5049 )
2022-03-04 18:21:35 +01:00
Olivier Cavadenti
106a881e20
Add whereLike functions ( #5044 )
2022-03-01 20:19:35 +01:00
Olivier Cavadenti
600d3c3755
Fix orWhereJsonPath clause ( #5022 )
2022-02-13 15:11:39 +01:00
stvsh
1461b9b06a
Fix whereJsonPath queries for postgres and cockroachdb ( #5011 )
...
Co-authored-by: Jacek Starz <jacek.starz@antsolutions.eu>
2022-02-08 20:15:38 +01:00
David Straub
81d6ffad4a
Fix collation when renaming column in MySQL dialect ( #2666 )
...
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-02-01 15:00:05 +02:00
Olivier Cavadenti
ffb60191db
Fix Order nulls in PostgreSQL ( #4989 )
2022-02-01 10:24:48 +01:00
Olivier Cavadenti
2986f8c1c0
Support string json in json values ( #4988 )
2022-02-01 00:01:57 +02:00
gzq
f50554b4c4
feat: add order and type for uuidtobin and binToUuid ( #4969 )
2022-01-28 18:34:38 +01:00
Shaun Sharples
4f0f0ab3e0
move deferrable to after on update/on delete ( #4976 )
...
Thank you!
2022-01-28 12:34:26 +02:00
Lucas Silva
2467db18e9
adding with clause in mysql dialect ( #4508 )
...
Co-authored-by: Lucas Silva <lucas.silva@codeminer42.com>
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-01-25 20:05:19 +01:00
Olivier Cavadenti
6ee3f94d1a
Add raw support in onConflict clause ( #4960 )
2022-01-22 14:31:51 +01:00
Olivier Cavadenti
63980987a6
Support of MATERIALIZED and NOT MATERIALIZED with WITH/CTE ( #4940 )
2022-01-20 22:54:03 +01:00
Igor Savin
4a0d82f2be
Fix tests for RETURNING and enable them for SQLite. ( #4934 )
2022-01-16 02:20:52 +02:00
Lucas Silva
b42bc468a0
Inconsistencies between .select and .returning ( #4471 )
...
Co-authored-by: Lucas Silva <lucas.silva@codeminer42.com>
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-01-14 00:05:52 +02:00
Olivier Cavadenti
8835d22652
Json advanced support ( #4859 )
2021-12-22 10:47:16 +01:00
Ferris
bb7de096dc
Add CI support for Oracle 18c ( resolves #4888 ) ( #4889 )
...
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2021-12-15 14:57:23 +02:00
Ben Lambert
2bd181171b
Support for better-sqlite3 Driver ( #4871 )
...
Signed-off-by: blam <ben@blam.sh>
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-12-09 16:19:37 +02:00
Olivier Cavadenti
d813edfc7b
Add binary uuid option ( #4836 )
2021-12-07 16:38:03 +01:00
Olivier Cavadenti
b97d49b184
Support whereLike and whereILike ( #4779 )
2021-10-31 19:52:22 +01:00
Dominik Krejcik
a17cc3214a
Support SELECT .. FOR NO KEY UPDATE / KEY SHARE row level locking clauses in Postgres ( #4755 )
2021-10-23 16:01:36 +03:00
Igor Savin
3c6a1fb852
Fix final tests failing on CockroachDB ( #4741 )
2021-10-15 18:02:55 +03:00
Igor Savin
2b1e37ca44
Fix more tests for CockroachDB ( #4729 )
2021-10-13 01:19:56 +03:00
Igor Savin
502ce49fa9
CockroachDB does not support query cancellation yet ( #4726 )
2021-10-11 19:36:50 +03:00
Olivier Cavadenti
126b84639e
Support for 'is null' in 'order by' ( #3667 ) ( #4720 )
2021-10-10 22:45:48 +03:00
Igor Savin
d45a8c8607
Implement basic query cancellation for CockroachDB ( #4723 )
2021-10-10 20:15:47 +03:00
Igor Savin
2361b9a534
Execute all tests ( #4722 )
2021-10-10 17:23:01 +03:00
Igor Savin
33e8b9fcb9
Fix joins tests for CockroachDB ( #4721 )
2021-10-10 17:16:47 +03:00
Igor Savin
7add986193
Avoid unnecessary DB rebuild ( #4718 )
2021-10-10 02:18:30 +03:00
Igor Savin
44ae0ffeb2
Execute all tests ( #4716 )
2021-10-10 01:40:22 +03:00
Igor Savin
07c30bfcb8
Implement truncate method for CockroachDB, refactor and fix some tests ( #4714 )
2021-10-10 01:33:20 +03:00