2646 Commits

Author SHA1 Message Date
Mikael Lepistö
c5c0a74d9e Merge pull request #1458 from justinhhorner/patch-1
Update to include MSSQL as a supported DB
2016-06-03 09:14:45 +03:00
Mikael Lepistö
b4cef896ab Merge pull request #1460 from agdevbridge/patch-1
Fixes "a promise was created but was not returned" warning
2016-06-03 09:12:22 +03:00
Justin Horner
62f0355e0b Update README to include MSSQL as a supported DB 2016-06-02 16:42:51 -04:00
statyan
4f28c992be Fixed knex #1463 issue
Fixed knex #1422 issue
2016-06-01 16:27:29 +03:00
statyan
04a05eeb50 Fixed knex #1422 issue 2016-06-01 02:42:17 +03:00
statyan
a7802ff8f3 Fixed knex #1463 issue 2016-06-01 02:40:58 +03:00
Rhys van der Waerden
e657aae068 Merge pull request #1447 from elhigu/fix-webpack-build-invalid-dependency
Fix webpack build error 'dependency to an entry point is not allowed'
2016-05-31 10:44:19 +10:00
Mikael Lepistö
dfca38da33 Merge pull request #1459 from wubzz/improvement/undefined_bindings_error_handling
Check for undefined bindings in WHERE clauses and RAW queries during…
2016-05-30 23:25:08 +03:00
wubzz
1fe657ab72 Fix test for undefined bindings and add documentation 2016-05-30 21:17:45 +02:00
wubzz
a7ba49ae7c Add hasOwnProperty condition 2016-05-30 21:09:15 +02:00
wubzz
636a446b6d Made the compiler's where function be the source of the validation, but the toSQL function is still the 'thrower'. 2016-05-30 20:09:16 +02:00
Algirdas Gr
26e720f15b Fixes "a promise was created but was not returned" warning
This would fix Warning: a promise was created in a handler but not returned from it
Issue: #1388
2016-05-30 18:04:43 +03:00
Mikael Lepistö
05a95c2b8b Merge pull request #1445 from sandorfr/bugfix/mssql-bigint
add bigint detection and sets mssql req.input when appropriate
2016-05-30 00:17:38 +03:00
Cyprien Autexier
0e693dfdca replace bigint unit test by integration tests 2016-05-29 18:16:32 +02:00
Cyprien Autexier
b7231ebb2a Add unit tests for mssql bigints (to be fixed) 2016-05-29 15:52:28 +02:00
Mikael Lepistö
b5d4f907ba Added webpack build test to npm test script 2016-05-29 10:08:39 +03:00
Mikael Lepistö
2fd63a7868 Fix webpack build error 'dependency to an entry point is not allowed' 2016-05-29 09:16:47 +03:00
wubzz
6d820b9ff7 Remove test "undefined named bindings are ignored" as they are no longer ignored. 2016-05-28 19:51:47 +02:00
wubzz
cba2cdc364 Check for undefined bindings in SELECT queries and RAW queries during compile and throw an error. 2016-05-28 19:45:00 +02:00
Justin Horner
a966a18e79 Update to include MSSQL as a supported DB 2016-05-28 11:30:36 -04:00
wubzz
27d828273d Merge pull request #1454 from byronmwong/killQuery
`.timeout(ms, {cancel: true})` to cancel query after timeout (only implemented for MySQL)
2016-05-28 11:51:04 +02:00
Byron Wong
34928377b0 update docs on .timeout() 2016-05-27 16:37:44 -07:00
Byron Wong
d42dba05ce share code for throwing not implemented error 2016-05-27 14:47:12 -07:00
Byron Wong
2eecd7cf16 no native startsWith 2016-05-26 17:10:27 -07:00
Byron Wong
89302b2e92 "maria" instead of "mariasql" 2016-05-26 17:04:30 -07:00
Byron Wong
c0a45b58a2 address wubzz's comments, improvements
* add timeout to acquiring connection inside `cancelQuery` + test
* use `KILL QUERY :id` instead of `KILL :id` so the connection is preserved
2016-05-26 16:56:15 -07:00
Cyprien Autexier
5f5aff114e replace int max values by constants 2016-05-26 22:27:55 +02:00
Byron Wong
ea5cbec4e7 Kill queries after timeout for MySQL 2016-05-26 12:00:47 -07:00
wubzz
d566ca28a2 Revert change to release script 2016-05-26 10:24:31 +02:00
wubzz
525bd56f85 release 0.11.5 0.11.5 2016-05-26 10:18:19 +02:00
wubzz
1ad3408ca3 Updated changelog 2016-05-26 10:11:08 +02:00
wubzz
21cede3df0 Merge pull request #1452 from wubzz/bugfix/invalid_compilation_of_raw_when_used_as_binding
Any binding that is an object/class containing the function .toSQL mu…
2016-05-26 09:26:35 +02:00
wubzz
dbc4173240 Any binding that is an object/class containing the function .toSQL must be processed as an Array in Raw's toSQL. 2016-05-26 09:02:30 +02:00
Cyprien Autexier
a110b8dfcd Add safe integer check for mssql 2016-05-24 22:21:57 +02:00
Cyprien Autexier
37ddd720de add bigint detection and sets mssql req.input when appropriate 2016-05-24 21:55:10 +02:00
Mikael Lepistö
1544fcd75f release 0.11.4 0.11.4 2016-05-22 19:34:59 +03:00
Mikael Lepistö
a38859f97d Updated changelog 2016-05-22 19:28:15 +03:00
Rhys van der Waerden
327671f678 Merge pull request #1427 from vellotis/fix-version-on-constructor
Expose Knex version also on the constructor
2016-05-22 18:59:44 +10:00
wubzz
9118e05f23 Merge pull request #1431 from wubzz/bugfix/inconsistency_of_primary_and_dropPrimary
Ensure .primary() and .dropPrimary() are the same across all dialects.
2016-05-20 15:34:46 +02:00
Rhys van der Waerden
25ca625aa5 Merge pull request #1428 from vellotis/ft-1424
Allow using custom Client/Dialect
2016-05-20 17:19:21 +10:00
Rhys van der Waerden
40b84c066d Merge branch 'remove-corpse-trx-skipping-func' of https://github.com/jurko-gospodnetic/knex into jurko-gospodnetic-remove-corpse-trx-skipping-func
# Conflicts:
#	src/transaction.js
2016-05-20 16:55:50 +10:00
wubzz
f3898d7be8 Update index.html 2016-05-20 08:30:15 +02:00
Rhys van der Waerden
dd82b7951c Merge pull request #1429 from elhigu/pass-valueForUndefined-from-client-to-transacting-client
Pass valueForUndefined also to transacting client. Fixes #1423
2016-05-20 15:36:37 +10:00
Kaarel Raspel
6cbceefdb8 Inherit knex instance VERSION property from constructor 2016-05-19 23:48:24 +03:00
wubzz
22c6fecd67 Merge pull request #1432 from wubzz/missing_dropTimestamps_documentation
Add documentation for .dropTimestamps
2016-05-19 22:40:14 +02:00
wubzz
4e5d152847 Fix indentation of oracle schema unit file 2016-05-19 22:35:33 +02:00
wubzz
8ce99c225d Add documentation for .dropTimestamps 2016-05-19 22:25:01 +02:00
wubzz
c2c31ce859 Change default constraintName in .primary() to match docs and .dropPrimary() 2016-05-19 22:13:09 +02:00
wubzz
4ba581b362 Fix some unit tests 2016-05-19 21:36:30 +02:00
wubzz
5a6ab64d06 Ensure .primary() and .dropPrimary() are the same across all dialects. 2016-05-19 21:30:17 +02:00