893 Commits

Author SHA1 Message Date
abskmj
1f4d8f28ed Fix Oracle error codes (#3498) 2019-10-28 15:38:28 +01:00
Oran Epelbaum
f4b6848594 Dynamic connection configuration resolution (#3497) 2019-10-27 16:14:18 +01:00
Igor Savin
1c65562440 Prepare 0.20.0 release 2019-10-25 20:17:26 +02:00
maximelkin
03ecbeef1f Bluebird remove return, reflect, fromCallback (#3483) 2019-10-25 19:59:30 +02:00
EthanHur
2d0459111d orderBy accepts QueryBuilder (#3491) 2019-10-24 16:08:12 +02:00
maximelkin
d01600ba0d refactor(bluebird): remove Bluebird.bind (#3477) 2019-10-15 23:03:35 +02:00
EthanHur
c53227564d add validation in .offset() (#2908) 2019-10-15 13:24:49 +02:00
maximelkin
531714804b Use util.promisify instead of Bluebird.promisify (#3470) 2019-10-15 09:11:59 +02:00
maximelkin
c9e305760d Fix oracledb driver v4 support (#3480) 2019-10-15 08:23:07 +02:00
Lorefnon
b0c0db601a Fix some issues around seed and migration generation (#3479) 2019-10-13 13:19:53 +02:00
Nekrasov Ilya
6b9fb0ec01 disable_migrations_list_validation_feature (#3448) 2019-10-12 21:45:39 +02:00
maximelkin
4a71315e9c remove bluebird.each (#3471) 2019-10-12 21:39:34 +02:00
Lorefnon
20bd04b594 Fix bugs in replacement logic used when dropping columns in SQLite. (#3476) 2019-10-11 22:38:01 +02:00
maximelkin
f56eaf5cfc Bluebird remove map mapSeries (#3474) 2019-10-11 10:12:56 +02:00
Igor Savin
988fb24389
Fix MSSQL escaping (#3382) 2019-10-06 20:21:32 +02:00
Igor Savin
516b074790
Enable linting in CI (#3450) 2019-10-06 20:20:46 +02:00
Roland Németh
c1d20270d6 Fix handling of multiline SQL in SQLite3 schema (#3411) 2019-10-06 18:27:52 +02:00
Taras Ozarko
7fabae9f56 Migrations up/down commands: filename parameter (#3416) 2019-10-06 18:00:04 +02:00
Tim Hibbard
68e1ae2aed Support stored procedures in Oracle 2019-09-22 22:31:56 +02:00
Martti Laine
5417cacdb1 Fix for concurrent child transactions failing (#2213) (#3440)
* Fix for concurrent child transactions failing (#2213)

* Skip new sibling transaction test for mssql

* Update test to ensure Promise resolve order
2019-09-20 14:37:58 +02:00
Kristjan
4ade98980e feat: add undefined columns to undefined binding(s) error (#3425) 2019-09-04 22:59:04 +02:00
Ben Darnell
8f40f8d534 migrate: Refactor _lockMigrations to avoid forUpdate (#3395) 2019-08-28 13:27:18 +02:00
Taras Ozarko
d6426d75e1 Add ability to manually define schema for enu with useNative (#3307) (#3413) 2019-08-25 23:07:30 +02:00
Ihor Sakaylyuk
1ef1a4ef07 Fix native enum with specified schema (#3307) (#3400) 2019-08-24 17:37:29 +02:00
Vithalreddy.M.B
658e612148 knex cli list all migrations with status (#3390) (#3409) 2019-08-24 12:01:12 +02:00
Harminder Virk
831b9bcc43 fix: make transaction rejection consistent across dialects (#3399) 2019-08-17 13:01:03 +02:00
Igor Savin
871dadb348
More consistent handling of nested transactions (#3393) 2019-08-16 16:28:25 +02:00
Igor Savin
2c3b4ded7b
Fallback to JSON when using JSONB in MySQL (#3394)
fixes #3386
2019-08-14 17:11:01 +02:00
Felix Mosheev
8111bb3ee8 Feat: Allow to extend knex query builder (#3334) 2019-07-23 20:45:03 +02:00
Igor Savin
49456691d8
Update dependencies (#3366) 2019-07-23 18:00:13 +02:00
Matthew Kuo
054ce36b0a Add .isCompleted() to transaction (#3368) 2019-07-23 17:59:55 +02:00
Lorefnon
3e1a5ee0de Minor enhancements around aliasing of aggregates (#3354)
- Allows an options object to specify alias (as suggested in https://github.com/tgriesser/knex/issues/3315#issuecomment-507439215) (Closes #3315)
- Allows multiple aliases when using object syntax (Closes #2871)
2019-07-16 18:48:28 +02:00
Igor Savin
fb06464da0
Update tarn.js (#3345)
* Update tarn.js
* Remove beforeDestroy
2019-07-11 14:57:59 +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
aa6cb2eb9c merge 2015-12-15 16:50:47 -06:00
Sky Morey
eed0004031 mssql: added top (?) back to fix that error. also removed loading of empty file 2015-12-15 16:48:19 -06:00
Tim Griesser
43dbdadb90 Remove invalid JoinClause require from mssql index.js 2015-12-15 16:54:43 -05:00
Sky Morey
03f4993642 Merge branch 'master' of github.com:tgriesser/knex 2015-12-15 14:57:14 -06:00
Sky Morey
ae256f2943 mssql limit and offset for sql2012 2015-12-15 14:56:56 -06:00
Mikael Lepistö
3dd5ac896a npm run build (for changed file) 2015-12-15 21:50:17 +02:00
Sky Morey
f99d3952a1 changed mssql to compact create format. changed unique index to unique constraint 2015-12-14 16:20:45 -06:00
Sky Morey
aa8df07711 merge 2015-12-14 11:10:46 -06:00
Sky Morey
390d3e1d37 added formatting to schema builder 2015-12-14 11:00:51 -06:00
Sky Morey
371815d7e6 made SCHEMA upper case for mssql 2015-12-14 09:56:53 -06:00
Mikael Lepistö
c22a51e5ad Merge pull request #886 from bblack/dialect_escaping
Per-dialect escaping
2015-12-13 20:50:44 +02:00
Tim Griesser
e2ef445f04 Merge pull request #973 from myndzi/double-release
Don't attempt to release resources that have been disposed of already
2015-12-12 14:33:34 -05:00
Sky Morey
f9a9bddb5d lib files. lib should really be moved to the .gitignore since babel creates them 2015-12-10 15:22:29 -06:00
Sky Morey
4f340d6096 Merge branch 'master' of github.com:tgriesser/knex 2015-12-10 15:16:23 -06:00
Sky Morey
198aa0db4b fixed lint issues, fixed mssql transaction 2015-12-10 13:35:37 -06:00