Rotem Bloom
7b7fef55e8
fix error on postgres when setting query_timeout ( #5673 )
2023-11-29 21:53:14 +02:00
Luke Stevens
e7dc724fcf
fix: attach error handler early enough ( #5552 )
2023-07-04 21:53:19 +02:00
Daniel van Hoesel
3435b4602c
Wait for search path to be set before continuing ( #5107 )
2022-04-07 17:27:25 +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
Olivier Cavadenti
ffd0c101f7
Support Joins and Using syntax for PostgreSQL Delete Statement ( #4800 )
2021-11-07 14:22:49 +01:00
Olivier Cavadenti
60db2d25a2
View support ( #1626 ) ( #4748 )
2021-10-20 23:23:29 +03:00
Igor Savin
941b660f53
Initial infrastructure for CockroachDB ( #4571 )
2021-10-02 23:45:17 +03:00
Matt Machuga
01cfa98c2c
Adding support for pg-native
( #4327 )
2021-09-06 16:04:23 +03:00
martinmacko47
1744c8c265
Fix timeout method ( #4324 )
2021-03-22 01:33:59 +02:00
Nicola Krumschmidt
c43fd7269e
Throw error if the array passed to insert is empty ( #4289 )
2021-02-15 19:03:48 +02:00
maximelkin
b9fb5992b5
Migrate to classes ( #4253 )
2021-01-31 12:40:13 +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
a9773b79a3
Extract static methods outside of a formatter ( #4213 )
2021-01-07 02:04:10 +02:00
Igor Savin
0e09fcd3c1
Refactor to classes (part 2) ( #4191 )
2021-01-01 18:46:16 +02:00
Igor Savin
b43dadbe01
Refactor to classes ( #4190 )
2021-01-01 17:46:10 +02:00
Ben Lu
a31f0400e6
Add transaction isolation support ( #4185 )
2020-12-30 18:13:35 +02:00
Bogdan Chadkin
80355e4850
Replace inherits package with builtin utility ( #4059 )
2020-10-05 23:59:12 +03:00
Bogdan Chadkin
6f817a3b6e
Avoid lodash typecheks ( #4056 )
...
* Avoid lodash typecheks
Lodash is quite big project. Even with direct imports it loads [tons](https://github.com/knex/knex/pull/3804 ) of
code and still bloats node_modules. Especially since lodash mostly used
as a polyfill for modern features.
In this diff I attempted to reduce lodash usage by replacing type checks
with `typeof` operator which might be sufficient.
Also replaced lodash/isObject with custom simplified utility which does not
consider functions as objects and allows to simplify code in one place.
2020-10-05 21:29:39 +03: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
maximelkin
b025aea318
remove dependency on bluebird methods from sources ( #3683 )
...
Co-authored-by: Brian Lauber <constructible.truth@gmail.com>
2020-02-25 22:50:24 +01:00
JbRezidu
2ac08c396a
fix(timeout): knex timeout for postgresql use cancel instead of terminate ( #3518 )
2019-11-21 15:23:24 +01:00
maximelkin
03ecbeef1f
Bluebird remove return, reflect, fromCallback ( #3483 )
2019-10-25 19:59:30 +02: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
Sky Morey
7c1120e0e2
in progress
2015-12-08 11:37:31 -06:00
Brian Black
cee729cad0
Properly escape single quotes in postgres
2015-11-29 18:44:12 -05:00
Brian Black
c6230568cd
SqlString is now per-dialect
2015-11-29 18:44:12 -05:00
Mikael Lepistö
fef0a09197
Did npm run build
2015-08-25 10:23:34 +03:00
Daniel Teixeira
70e4692638
add support to postgres search_path
2015-08-09 23:04:57 -03:00
Tim Griesser
6cef074236
Fix correct files for #851
2015-06-01 09:22:27 -04:00
Tim Griesser
421cb4f4eb
Commit compiled files
2015-06-01 09:17:11 -04:00
Kris Reeves
c1c6d401b8
Also fix up postgres _stream function to bind an error handler on the query object
2015-05-29 12:41:33 -04: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
c40b1339aa
Update process for web script build
2015-04-29 17:11:52 -04:00
Tim Griesser
ff76297506
Normalize connection config, fix #789
2015-04-29 15:14:41 -04:00
Tim Griesser
04a0aa6935
Removing explicit build directory, building lib in docs instead
2015-04-27 15:48:23 -04:00
Tim Griesser
e570c167c1
JSHint and formatting
2015-04-22 15:39:29 -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
Tim Griesser
27cd9f12c5
Cleanup pool implementation, preparing things for new release
2015-04-17 15:00:08 -04:00
Kris Reeves
84aef3bd4c
Handle postgres connection "error" and "end" events
...
Closes #659
2015-02-23 09:35:57 -05:00
Tim Griesser
776acf3f30
Fix #516 , connection parameters not properly preserved
2014-10-03 11:03:34 -04:00
Vincent Schoettke
ef173db790
Changed jshint option unused to true and fixed warnings
2014-09-02 22:56:51 +02:00
Vincent Schoettke
98f4f9a1dd
Removed jshint expr and fixed warnings
2014-09-02 22:03:14 +02:00
Vincent Schoettke
f3874ac651
Fixed several jshint warnings. Added strict mode
2014-09-01 17:19:34 +02:00