32 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
Ferris
ad62d9072f
Fix #4869, oracledb correctlyINSERTS Buffer (#5167) 2022-05-13 21:31:15 +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
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
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
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
b43dadbe01
Refactor to classes (#4190) 2021-01-01 17:46:10 +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
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
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
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
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
MaliaGuerrero
03d6f063d5 Initialize data to buffer instead of string for non-strings (#3545) 2019-11-21 19:46:45 +01: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