53 Commits

Author SHA1 Message Date
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
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
ian
8ea5690bac
Use implicit check on json fields for OracleDB (#5478) 2023-03-29 23:45:19 +02:00
Ferris
ad62d9072f
Fix #4869, oracledb correctlyINSERTS Buffer (#5167) 2022-05-13 21:31:15 +02:00
SP
3616791ac2
Fix batch inserts with DEFAULT values with OracleDB (#2592) (#5037)
Co-authored-by: Sven Petry <sven.petry@inform-software.com>
2022-02-26 19:05:46 +01:00
Olivier Cavadenti
ffb60191db
Fix Order nulls in PostgreSQL (#4989) 2022-02-01 10:24:48 +01: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
4494113187
Checks Constraints Support (#4874)
Co-authored-by: Ivan Zhuravlev <intech@users.noreply.github.com>
2022-01-06 14:44:16 +01: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
Igor Savin
bfdece3cdc
Process passed Oracle connection (#4757) 2021-10-20 23:35:51 +03:00
Olivier Cavadenti
60db2d25a2
View support (#1626) (#4748) 2021-10-20 23:23:29 +03:00
Jeremy W. Sherman
a9338208f1
fix(oracledb): withRecursive: omit invalid RECURSIVE keyword, include column list [#4514] (#4652) 2021-09-03 22:27:32 +03:00
Jeremy W. Sherman
ce35bd6b64
fix(oracledb): Support setNullable, dropNullable (#4659) 2021-09-03 22:25:22 +03:00
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