Igor Savin
230845d3c2
Make "first" and "pluck" mutually exclusive ( #4280 )
2021-02-08 13:45:13 +02:00
Igor Savin
2040bd11a4
Move more logic over from formatter ( #4273 )
2021-02-03 21:17:20 +02:00
maximelkin
b9fb5992b5
Migrate to classes ( #4253 )
2021-01-31 12:40:13 +02:00
Igor Savin
a889a09060
Extract even more formatter stuff into client ( #4219 )
2021-01-09 17:40:30 +02:00
Igor Savin
cd6479bf0b
More formatter cleanup ( #4218 )
2021-01-07 23:34:46 +02:00
Igor Savin
d78c65921f
More formatter extraction ( #4215 )
2021-01-07 17:48:14 +02:00
Igor Savin
6275ea3b08
Migrate columncompiler to classes ( #4193 )
2021-01-01 20:35:54 +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
Igor Savin
2aec21ed5e
Try to introduce some organization into how files are grouped ( #4178 )
2020-12-28 16:55:08 +02:00
Rijk van Zanten
b7e1ffd7d5
Add support for dropForeign
in SQLite ( #4092 )
...
Co-authored-by: Igor Savin <iselwin@gmail.com>
2020-12-08 14:49:41 +02:00
Igor Savin
c47e00de64
Support non-standard Oracle port ( #4147 )
2020-12-08 00:47:00 +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
55c3787644
Update dependencies ( #3971 )
2020-08-08 18:32:09 +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
Brian Lauber
31c5b86ec4
Fix: Transaction_OracleDB can use config.connection ( #3731 )
2020-03-15 20:30:40 +01:00
Brian Lauber
6e6b666603
Rewrote Transaction#acquireConnection() methods to use async ( #3707 )
2020-03-07 01:15:23 +01: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
lando-cal
3bea3f66ec
Add OracleDB handling for buffer type in fetchAsString ( #3685 )
...
As released in [2.3.0](https://github.com/oracle/node-oracledb/blob/master/CHANGELOG.md#node-oracledb-v230-7-jun-2018 ) of node-oracledb, this adds handling to fetchAsString for the `BUFFER` type, allowing fetchAsString to interpret `RAW` fields.
2020-02-25 01:27:33 +01:00
Jake Coffman
d50d00644c
oracledb: commit was a no-op causing race conditions ( #3668 )
...
The underlying issue was that query *always* committed, even during a transaction. The previous fix was to just disable commitAsync in a transaction but then that also disabled explicit commit calls. Instead, this fix disables query's commits during transactions so that explicit commits still work.
2020-02-16 20:26:13 +01:00
maximelkin
88d832cd36
replace Bluebird.timeout ( #3634 )
2020-02-12 21:42:15 +01:00
Lorefnon
589ea747c2
Update QueryCompiler implementation to use classes ( #3647 )
2020-02-01 17:22:00 +01:00
Jake Coffman
22558209d4
dispose Oracle connection on connection error ( #3611 )
...
Co-authored-by: abskmj <abskmj@gmail.com>
2020-01-05 18:47:32 +01:00
Jake Coffman
07997279b7
fix #3605 not releasing connection from pool on disconnect ( #3606 )
2020-01-04 22:56:14 +01:00
Ahmed Ashour
a613fe23df
Fix some spelling mistakes ( #3572 )
2019-12-10 22:53:05 +01:00
Ahmed Ashour
d5773f8a44
Use Buffer.alloc() instead of deprecated () ( #3574 )
2019-12-10 22:51:57 +01:00
maximelkin
84fce33f69
Remove bluebird.using ( #3552 )
2019-11-28 20:44:18 +01:00
Igor Savin
1ca7bc2f2b
Clarify acquireConnection() signature ( #3554 )
2019-11-28 00:01:29 +01:00
MaliaGuerrero
03d6f063d5
Initialize data to buffer instead of string for non-strings ( #3545 )
2019-11-21 19:46:45 +01:00
maximelkin
03ecbeef1f
Bluebird remove return, reflect, fromCallback ( #3483 )
2019-10-25 19:59:30 +02:00
maximelkin
c9e305760d
Fix oracledb driver v4 support ( #3480 )
2019-10-15 08:23:07 +02:00
maximelkin
4a71315e9c
remove bluebird.each ( #3471 )
2019-10-12 21:39:34 +02:00
Tim Hibbard
68e1ae2aed
Support stored procedures in Oracle
2019-09-22 22:31:56 +02:00
Ricardo Graça
9aa7085b05
Rename src directory to lib ( #3338 )
2019-07-10 23:48:43 +02:00
Tim Griesser
ca158836a0
Cast buffer to string, #796
2015-04-28 08:14:22 -04:00
Tim Griesser
7b17cc404a
Oracle test suite up to date
2015-04-27 20:22:05 -04:00