34 Commits

Author SHA1 Message Date
Warren Seymour
61ee5338b3
feat(pg): implement QueryBuilder#updateFrom (#5386) 2023-07-06 13:31:28 +02:00
Olivier Cavadenti
47b96344c2
Fix delete joins with PostgreSQL (#5016) 2022-02-09 23:01:43 +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
Olivier Cavadenti
ffb60191db
Fix Order nulls in PostgreSQL (#4989) 2022-02-01 10:24:48 +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
Olivier Cavadenti
8835d22652
Json advanced support (#4859) 2021-12-22 10:47:16 +01:00
Olivier Cavadenti
49e597df85
[CLEAN] Remove duplicate code (#4813) 2021-11-09 09:34:19 +01:00
Olivier Cavadenti
ffd0c101f7
Support Joins and Using syntax for PostgreSQL Delete Statement (#4800) 2021-11-07 14:22:49 +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
Maximilian-Albin Ekström
3a083d9b0e
fix: use sys info function instead of connection db name (#4623)
Co-authored-by: Maximilian-Albin Ekström <maximilian-albin.ekstrom@instabox.se>
2021-08-20 12:51:21 +03:00
Calvin Metcalf
f78c3618e2
add obility to omit collumns on an onConflict().ignore() (#4557) 2021-07-10 14:54:07 +03:00
Matt
a4b6db85a9
Added merge strategy to allow selecting columns to upsert. (#4252)
Co-authored-by: Matt Goodson <matt.goodson.business@gmail.com>
2021-02-09 10:04:43 +02:00
Igor Savin
2040bd11a4
Move more logic over from formatter (#4273) 2021-02-03 21:17:20 +02:00
Igor Savin
b111771117
Clean up querybuilder (#4220) 2021-01-09 17:59:53 +02:00
Igor Savin
cd6479bf0b
More formatter cleanup (#4218) 2021-01-07 23:34:46 +02:00
Igor Savin
067a1a0326
Extract more of the formatter logic (#4214) 2021-01-07 17:31:56 +02:00
Igor Savin
0b2a2ca4d1
Extract static method _num out of class. Use super-methods (#4212) 2021-01-06 23:21:10 +02:00
Mark Boyd
76c131e2a9
Add support for WHERE clauses to "upsert" queries (#4148) 2020-12-09 17:51:29 +02:00
Nico Burns
8d43019873
Implement "UPSERT" (Postgres/MySQL/Sqlite) (#3763) 2020-10-31 17:22:52 +02:00
Igor Savin
e37aeaa31c
Prepare for 0.21.0 release (#3811) 2020-04-19 00:40:23 +02:00
tkalliom
02d94d96b0
Reduce size of lodash in bundle (#3804) 2020-04-18 19:41:23 +02:00
Lorefnon
589ea747c2
Update QueryCompiler implementation to use classes (#3647) 2020-02-01 17:22:00 +01:00
Igor Savin
4feefdf3d2 Enforce Unix (lf) line terminators (#3598) 2019-12-29 20:28:40 +01:00
Lorefnon
f87b28c3e3 Add support for distinct on for postgres (#3513)
Resolves #3472
2019-11-11 00:51:47 +01:00
Ricardo Graça
9aa7085b05 Rename src directory to lib (#3338) 2019-07-10 23:48:43 +02:00
Mikael Lepistö
7140a48226 Remove generated lib from repository and run build in prepublish 2016-01-21 09:59:30 +02:00
Sky Morey
aa8df07711 merge 2015-12-14 11:10:46 -06:00
Daniel Teixeira
402dbd9903 add schema support for postgres queries 2015-08-09 20:48:33 -03:00
Tim Griesser
521a6f9e97 Remove use strict, assumed in ES6 2015-05-09 14:01:19 -04:00
Tim Griesser
7e884cb325 Babel src -> lib, remove gulp 2015-05-09 13:58:18 -04:00
Tim Griesser
f9aab9dc76 Major internal refactor
Beefed up transaction implementation, still needs tests
and cleanup of nested transaction queues.

Left todo:
- Fix commented out tests
- Fix oracle driver's transactions
2015-04-22 10:34:14 -04:00
Tim Griesser
eee4e9c005 Fixing the overall class dependency approach, lots of internal cleanup, WIP 2015-04-19 16:31:52 -04:00