908 Commits

Author SHA1 Message Date
Vincent Schoettke
a373905171 Removed jshint eqnull and fixed warnings 2014-09-02 22:19:22 +02:00
Vincent Schoettke
98f4f9a1dd Removed jshint expr and fixed warnings 2014-09-02 22:03:14 +02:00
Vincent Schoettke
89973dac20 Removed jshint boss and fixed warnings 2014-09-02 21:37:58 +02:00
Ben Drucker
1dc966273d Fix accidental markdown
Wrote link as Markdown in ef7e425917adbd1fbf69977fd364a8850b1848c4
2014-09-02 12:47:32 -04:00
Ben Drucker
ef7e425917 Note that schema methods return promises
Closes #457
2014-09-02 12:41:38 -04:00
Tim Griesser
d4349a9cff Add default as alias for defaultTo 2014-09-02 10:54:07 -04:00
Tim Griesser
b1602256d9 Merge pull request #456 from halfdan/patch-1
Prevent executing a query when no connection exists
2014-09-02 07:49:20 -04:00
Fabian Becker
077a7e0e60 Prevent executing a query when no connection exists
no ref
2014-09-02 12:04:21 +02:00
Tim Griesser
b03cd1306f Merge pull request #455 from vschoettke/jshint-fix
JSHint fixes
2014-09-01 14:44:01 -04:00
Vincent Schoettke
f3874ac651 Fixed several jshint warnings. Added strict mode 2014-09-01 17:19:34 +02:00
Vincent Schoettke
e0d77ccb59 jshint now tests all source files. Switched to use gulp-jshint instead of cli call. 2014-09-01 17:16:39 +02:00
Vincent Schoettke
473827b8c1 Added missing require statement 2014-09-01 16:56:30 +02:00
Vincent Schoettke
6f2da84df9 Removed unused/outdated schema test for sqlserver 2014-09-01 16:14:22 +02:00
Vincent Schoettke
efdb3bde02 Fixed ignoring callback on client destroy 2014-09-01 16:01:18 +02:00
Vincent Schoettke
7a59607368 Merge pull request #454 from vschoettke/fix-orderby-with-raw
Fix #440, orderBy with raw argument should use direction
2014-09-01 14:26:25 +02:00
Vincent Schoettke
8f5ccc1e45 Fix #440, orderBy with raw argument should use direction 2014-09-01 14:16:07 +02:00
Tim Griesser
4fffee9b73 Enable SQLite3 fixed tests 2014-08-31 14:10:23 -04:00
Tim Griesser
f965648225 Fix subquery insert for sqlite3 2014-08-31 14:07:58 -04:00
Tim Griesser
1bc6293353 JOINs should not work with update in sqlite 2014-08-31 14:01:53 -04:00
Tim Griesser
886634eb02 Fix #441, raw in first argument of join 2014-08-31 12:20:31 -04:00
Vincent Schoettke
393769b80d Merge pull request #445 from vschoettke/sqlite3-fix-raw-order-by
sqlite3 - fixed raw order bys
2014-08-28 21:45:07 +02:00
Vincent Schoettke
5c7e0ae329 Merge pull request #447 from vschoettke/fixed-close-in-integration-tests
Fixed integration tests not closing connections
2014-08-28 20:59:04 +02:00
Vincent Schoettke
36282de16b Fixed integration now close connections 2014-08-28 20:50:44 +02:00
Vincent Schoettke
f3bff2d8ab Merge pull request #446 from vschoettke/fix-offset-without-limit
Fixed offset without limit for mysql and sqlite3
2014-08-28 20:22:43 +02:00
Vincent Schoettke
00a41a0bb2 Fixed offset without limit for mysql and sqlite3 2014-08-28 13:53:39 +02:00
Vincent Schoettke
d6e414721f sqlite3 - fixed raw order bys 2014-08-28 11:52:05 +02:00
Ben Drucker
5e8689c8fd Merge pull request #444 from vschoettke/oracle-fix-unsupported-params
Fixed non-supported options in update, insert etc. for Oracle dialect
2014-08-28 05:47:45 -04:00
Tim Griesser
fc8d193e87 Merge pull request #437 from myndzi/fix-default-null
Compile result of .defaultsTo(null) to "default null", not "default 'null'"
2014-08-27 20:23:51 -04:00
Tim Griesser
da2cdbc641 Merge pull request #439 from vschoettke/add-querybuilder-tests
Test every dialect in query builder unit test
2014-08-27 20:23:02 -04:00
Vincent Schoettke
d0b8c717e4 oracle - fixed non-supported options 2014-08-27 10:10:20 +02:00
Vincent Schoettke
02eb8cbe5e More thorough test of query builder 2014-08-26 23:05:39 +02:00
Kris Reeves
55833140a0 Test the fix 2014-08-26 13:09:51 -04:00
Kris Reeves
3d3e4036bb Compile result of .defaultsTo(null) to "default null", not "default 'null'" 2014-08-25 17:14:58 -04:00
Tim Griesser
289c661152 Fix #427, raw / subqueries on insert 2014-08-24 14:50:29 -04:00
Tim Griesser
83b2c2b078 Fix #434, add returning config option 2014-08-24 14:41:48 -04:00
Tim Griesser
cd4864e740 Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  oracle - fixed first and added more tests
  Fix bad argument to builder.whereNull
  don't throw away the postgres client's password
  oracle - fixed SQL for dropping multiple columns
  Do not attempt to release undefined connections from pool, #414
2014-08-24 14:26:56 -04:00
Tim Griesser
eaa122b420 Merge pull request #424 from seansullivan/master
Do not attempt to release undefined connections from pool, #414
2014-08-22 11:34:29 -04:00
Ben Drucker
f4bd7d0264 Merge pull request #432 from vschoettke/oracle-fix-first-add-tests
oracle - fixed first and added more tests
2014-08-21 19:57:40 -04:00
Vincent Schoettke
f545c86081 oracle - fixed first and added more tests 2014-08-22 01:13:15 +02:00
Ben Drucker
0e60ca120f Fix bad argument to builder.whereNull
Closes #431
2014-08-21 17:35:51 -04:00
Ben Drucker
3833824246 Merge pull request #428 from vschoettke/oracle-fix-drop-multiple-columns
oracle - fixed SQL for dropping multiple columns
2014-08-20 19:22:56 -04:00
Ben Drucker
8d481dc182 Merge pull request #429 from nigelzor/broken-in-390
Add the password to the connection settings for Postgres

Fixes regression caused by #390
2014-08-20 19:20:45 -04:00
Neil Gentleman
ab4c6dabbc don't throw away the postgres client's password
broken by tgriesser/knex#390
2014-08-20 15:52:19 -07:00
Vincent Schoettke
04ddae3fda oracle - fixed SQL for dropping multiple columns 2014-08-21 00:17:49 +02:00
Tim Griesser
75be73c45e Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  oracle - fix returning for non-integer types
  oracle - fixed create if not exists
2014-08-20 14:20:47 -04:00
Ben Drucker
571f233cac Merge pull request #426 from vschoettke/oracle-returning-fix
oracle - fix returning for non-integer types
2014-08-20 07:10:00 -04:00
Vincent Schoettke
2eaedd0afa oracle - fix returning for non-integer types 2014-08-20 09:34:32 +02:00
Ben Drucker
07b2f8c41f Merge pull request #425 from vschoettke/fix-oracle-create-if-not-exists
Fixed create if not exists for Oracle
2014-08-16 09:33:22 -04:00
Vincent Schoettke
9a0e7abdaa oracle - fixed create if not exists 2014-08-16 14:20:44 +02:00
Sean Sullivan
d8eda3fad6 Do not attempt to release undefined connections from pool, #414 2014-08-15 15:40:32 -07:00