Igor Savin
4feefdf3d2
Enforce Unix (lf) line terminators ( #3598 )
2019-12-29 20:28:40 +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
JbRezidu
2ac08c396a
fix(timeout): knex timeout for postgresql use cancel instead of terminate ( #3518 )
2019-11-21 15:23:24 +01:00
Alexandre BODIN
0214f11663
Make sqlite3 hasColumn case insensitive ( #3435 )
2019-11-14 19:31:59 +01:00
Lorefnon
f87b28c3e3
Add support for distinct on for postgres ( #3513 )
...
Resolves #3472
2019-11-11 00:51:47 +01:00
abskmj
1f4d8f28ed
Fix Oracle error codes ( #3498 )
2019-10-28 15:38:28 +01:00
maximelkin
03ecbeef1f
Bluebird remove return, reflect, fromCallback ( #3483 )
2019-10-25 19:59:30 +02:00
maximelkin
d01600ba0d
refactor(bluebird): remove Bluebird.bind ( #3477 )
2019-10-15 23:03:35 +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
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
Roland Németh
c1d20270d6
Fix handling of multiline SQL in SQLite3 schema ( #3411 )
2019-10-06 18:27:52 +02:00
Tim Hibbard
68e1ae2aed
Support stored procedures in Oracle
2019-09-22 22:31:56 +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
Harminder Virk
831b9bcc43
fix: make transaction rejection consistent across dialects ( #3399 )
2019-08-17 13:01:03 +02:00
Igor Savin
2c3b4ded7b
Fallback to JSON when using JSONB in MySQL ( #3394 )
...
fixes #3386
2019-08-14 17:11:01 +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
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
ae256f2943
mssql limit and offset for sql2012
2015-12-15 14:56:56 -06: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
Sky Morey
198aa0db4b
fixed lint issues, fixed mssql transaction
2015-12-10 13:35:37 -06:00
Sky Morey
afd6b66624
Final build of mssql provider, all tests pass
2015-12-09 17:53:53 -06:00
Sky Morey
7c1120e0e2
in progress
2015-12-08 11:37:31 -06:00
Brian Black
27b0a57823
do not escape doublequotes in postgres
2015-11-29 18:54:05 -05:00
Brian Black
cee729cad0
Properly escape single quotes in postgres
2015-11-29 18:44:12 -05:00
Brian Black
c6230568cd
SqlString is now per-dialect
2015-11-29 18:44:12 -05:00
Dustin Martin
d9ac2c1f8f
Add status method
...
Returns 0 if all migrations are run and DB is up to date. Return negative number if DB is missing migrations. Return positive number if DB is ahead (rare case, e.g. if migrations were run then code is reverted)
2015-11-23 10:50:19 -06:00
Rhys van der Waerden
ebd361ffce
Merge pull request #994 from wubzz/bugfix/query_event_when_using_transactions
...
Query event in Transaction should be proxied to the main client
2015-11-17 23:27:15 +11:00
Hannah Wolfe
f72892b5b9
Distinct modifier support for aggregate functions
...
closes #1028
- add support for count(distinct *), avg(distinct *) and sum(distinct *)
- min and max don't really make sense with distinct, so didn't add those
2015-11-09 12:48:42 +00:00
blah238
1ee32292d4
Add Travis testing for Node v4.x
...
- Update node-mariasql to 0.2.x
- Closes #970
- Closes #977
- Closes #995
2015-10-27 17:38:56 -05:00
wubzz
4cba0d963c
Query Event is now proxied to the main client like in previous versions of knex. Fixes #855
2015-09-19 14:45:01 +02:00
Mikael Lepistö
fef0a09197
Did npm run build
2015-08-25 10:23:34 +03:00
Daniel Teixeira
70e4692638
add support to postgres search_path
2015-08-09 23:04:57 -03:00
Daniel Teixeira
3f8f50425f
add schema support for schema builder
2015-08-09 23:04:53 -03:00
Daniel Teixeira
402dbd9903
add schema support for postgres queries
2015-08-09 20:48:33 -03:00
Rhys van der Waerden
556fa6c76a
Merge pull request #896 from helios1138/patch-1
...
fixed connection error handling for oracle dialect
2015-07-21 13:38:41 +10:00