Igor Savin
3c6a1fb852
Fix final tests failing on CockroachDB ( #4741 )
2021-10-15 18:02:55 +03:00
Olivier Cavadenti
7c52de9f23
Create table like support ( #1373 ) ( #4728 )
2021-10-15 16:57:46 +03:00
Igor Savin
502ce49fa9
CockroachDB does not support query cancellation yet ( #4726 )
2021-10-11 19:36:50 +03:00
Jeremy W. Sherman
99e6726df9
mssql: Support table.primary, table.unique variant with options object ( #4710 )
2021-10-10 22:47:32 +03:00
Olivier Cavadenti
126b84639e
Support for 'is null' in 'order by' ( #3667 ) ( #4720 )
2021-10-10 22:45:48 +03:00
Igor Savin
d45a8c8607
Implement basic query cancellation for CockroachDB ( #4723 )
2021-10-10 20:15:47 +03:00
Igor Savin
e6d5873cec
Fix migration locking for cockroachdb ( #4717 )
2021-10-10 02:07:56 +03:00
Igor Savin
07c30bfcb8
Implement truncate method for CockroachDB, refactor and fix some tests ( #4714 )
2021-10-10 01:33:20 +03:00
OlivierCavadenti
6892c2c7c0
Add support for 'CASCADE' in PostgreSQL 'DROP SCHEMA' queries ( #4713 )
2021-10-09 01:23:02 +03:00
Igor Savin
c2c9446c29
Fix JSON support for CockroachDB ( #4701 )
2021-10-03 21:33:24 +03:00
Igor Savin
941b660f53
Initial infrastructure for CockroachDB ( #4571 )
2021-10-02 23:45:17 +03:00
Stig-Erland Hansen
a54857ec3c
Avoid inserting multiple locks if a lock already exists ( #4694 )
2021-09-29 16:57:34 +03:00
Aiden Foxx
c778c82f2f
Added setNullable support to SQLite ( #4684 )
2021-09-19 18:14:06 +03:00
Igor Savin
40cb7ce105
Minor cleanup around batch-insert ( #4676 )
2021-09-14 10:38:23 +03:00
Plaffont
b411d48248
Passing all arguments to _promise.catch function ( #4666 )
...
Co-authored-by: Pierre-Louis LAFFONT <pilou@plum-energie.com>
2021-09-06 18:03:36 +03:00
Matt Machuga
01cfa98c2c
Adding support for pg-native ( #4327 )
2021-09-06 16:04:23 +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
michaelbrewerdavis
b5225179ce
fix migrate:up for migrations disabling transactions ( #4550 )
2021-08-31 23:05:35 +03:00
Pete Nykänen
49b05b5c71
Add support for mysql/mariadb-client JSON parameters in connectionURIs ( #4629 )
...
Signed-off-by: petetnt <pete.a.nykanen@gmail.com>
2021-08-30 20:19:08 +03:00
wolfcomp
4c79ac1fe6
Fix Analytic orderBy and partitionBy to follow the SQL documentation ( #4602 )
2021-08-30 20:17:16 +03:00
Igor Savin
8d75615524
Implement nullability modification via schema builder ( #4657 )
2021-08-28 20:41:54 +03:00
Nicola Krumschmidt
153d0fbd72
Fix adding a column with a foreign key constraint in SQLite ( #4649 )
2021-08-25 23:14:14 +03:00
Nicola Krumschmidt
00cbd00631
Clean up SQLite DDL handling and move all operations to the parser-based approach ( #4648 )
2021-08-25 17:30:44 +03:00
Jeremy W. Sherman
40576ce430
fix(mssql): Generate valid SQL for withRecursive() [ #4514 ] ( #4639 )
2021-08-25 09:36:43 +03:00
Thomas Hunter II
e469766689
adding .mjs migration and seed stubs ( #4631 )
2021-08-21 21:34:30 +03:00
Jeremy W. Sherman
5ac422410b
feat(mssql): Support comments as MS_Description properties ( #4632 )
2021-08-21 21:29:55 +03:00
Jeremy W. Sherman
52950c652b
fix(mssql): columnInfo() support case-sensitive database collations ( #4633 )
2021-08-21 21:26:54 +03:00
Maximilian-Albin Ekström
3a083d9b0e
fix: use sys info function instead of connection db name ( #4623 )
...
Co-authored-by: Maximilian-Albin Ekström <maximilian-albin.ekstrom@instabox.se>
2021-08-20 12:51:21 +03:00
Igor Savin
91bde6021d
Additional fixes for Oracle schema support ( #4596 )
2021-07-31 19:25:37 +03:00
Igor Savin
124107e0ec
Fix autoincrement for Oracle with schema ( #4594 )
2021-07-29 17:07:22 +03:00
zeotuan
45916f97ee
Add deferrable support for constraint ( #4584 )
2021-07-25 10:23:17 +03:00
Dave de Jong
8619d80336
Add mssql trustServerCertificate option. ( #4500 )
2021-07-21 01:29:53 +03:00
zeotuan
55eadcf7ad
Fixing posgres datetime and timestamp column created with wrong format ( #4578 )
2021-07-21 01:23:20 +03:00
Egor Koldasov
c335fda657
#873 | implement delete with join ( #4568 )
2021-07-13 09:41:16 +03:00
Vesa Peltola
f447b3b6eb
Add DPI error codes for Oracle ( #4536 )
2021-07-12 23:46:38 +03:00
Calvin Metcalf
f78c3618e2
add obility to omit collumns on an onConflict().ignore() ( #4557 )
2021-07-10 14:54:07 +03:00
Minh Son Nguyen
228b49f4af
[Typing] Add types for analytic functions ( #4544 )
2021-06-29 16:36:02 +03:00
Adam Love
234eddd2c0
Add .cjs extension to Seeder.js to support Node ESM ( #4381 ) ( #4382 )
2021-05-11 23:24:57 +03:00
Wigger Boelens
267ff3a28b
Add support for file open flags for sqlite3 ( #4446 )
2021-04-22 00:50:03 +03:00
Ardeshir81
6b420cebdf
Throw an error if negative offset is provided ( #4361 )
2021-03-25 11:30:25 +02:00
Jeremy W. Sherman
0d43c1cbb9
mssql: Improve estimate of max comment length ( #4362 )
2021-03-25 11:24:44 +02:00
martinmacko47
1744c8c265
Fix timeout method ( #4324 )
2021-03-22 01:33:59 +02:00
Rijk van Zanten
910c009870
Rework dropForeign to use new tokenized structure ( #4376 )
...
Fixes #4369
2021-03-15 22:45:28 +02:00
Kevin Brown
79be494ed0
Add same as operator for postgres. ( #4372 )
2021-03-13 10:33:44 +02:00
Thomas Schaaf
4f6391cb67
[TypeScript] Allow config.client to be non-client instance ( #4367 )
...
TypeScript makes it very hard to get typescript to correctly check the `instanceof Client` part of the statement.
See: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-doesnt-extending-built-ins-like-error-array-and-map-work
2021-03-12 00:16:41 +02:00
Santi Albo
548471de0a
fix TypeScript migration stub after 0.95.0 changes ( #4366 )
...
* fix TypeScript migration stub after 0.95.0 changes
Release 0.95.0 changed how types have to be imported when using TypeScript. This PR fixes the migration stub so new migrations are created correctly.
* Add test for Knex.AlterTableBuilder
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-03-11 19:58:00 +02:00
Jakub Jastrzębski
5d1f479593
fix: update ts.stub files to new TypeScript namespace ( #4344 )
2021-03-11 18:51:53 +02:00
Igor Savin
4ff3868140
Move QueryBuilder and KnexTimeoutError into knex namespace so that they are accessible at a runtime ( #4358 )
2021-03-08 23:18:49 +02:00
Matt Machuga
0ab482bcfb
Unify db test helpers ( #4356 )
2021-03-08 14:16:07 +02:00