232 Commits

Author SHA1 Message Date
Vincent Schoettke
00a41a0bb2 Fixed offset without limit for mysql and sqlite3 2014-08-28 13:53:39 +02:00
Vincent Schoettke
f545c86081 oracle - fixed first and added more tests 2014-08-22 01:13:15 +02:00
Vincent Schoettke
04ddae3fda oracle - fixed SQL for dropping multiple columns 2014-08-21 00:17:49 +02:00
Vincent Schoettke
2eaedd0afa oracle - fix returning for non-integer types 2014-08-20 09:34:32 +02:00
Vincent Schoettke
0ba6b49495 oracle - added support for multiple returning values 2014-08-13 21:53:42 +02:00
Vincent Schoettke
d85a13a6f6 Reverted mysql overlapping join test 2014-08-13 21:53:42 +02:00
Vincent Schoettke
9ef99b5f92 Added oracle support 2014-08-13 21:53:42 +02:00
Oliver Schneider
542d91bae2 Fix for test adaption 2014-07-26 09:06:48 +02:00
Pelle Wessman
bdc3b43655 Added a function helper collection
To make it possible for individual dialects to provide their own variant of common SQL-functions like NOW()
2014-07-18 12:41:23 +02:00
Tim Griesser
521f22aec2 Fix #363, prepare postgresql parameters for streaming 2014-07-10 12:31:18 -04:00
Tim Griesser
a1be2e9663 Fix #337, stream only syntax should not return a promise 2014-06-25 02:42:22 -04:00
Tim Griesser
fa42db09de Increment/decrement returns affectedRows, with tests - #330 2014-06-18 12:39:58 -04:00
Tim Griesser
04eabdea08 Remove check for 0.8, we're not running this on travis 2014-06-18 12:16:46 -04:00
Tim Griesser
6af64d32a1 Adding support for mysql2, https://github.com/sidorares/node-mysql2 2014-06-09 16:27:03 -04:00
Tim Griesser
ad3f9f6f5e SQlite3 DDL fixes, more for #46
Don't throw when trying to add foreign key
Allow dropping a column in sqlite3
2014-06-09 15:28:22 -04:00
Tim Griesser
e06d689468 release 0.6.3 2014-06-06 17:41:31 -04:00
Tim Griesser
c3f21e47cd Fix #298 and tests 2014-06-06 17:27:59 -04:00
Dan Weinand
dab1191918 allow schema methods to use transactions 2014-06-05 17:01:02 -07:00
Tim Griesser
e73217e4c5 release 0.6.2 2014-06-04 16:24:29 -04:00
Tim Griesser
4da19754f8 Fix #297 - raw query should pass through response 2014-06-04 15:55:41 -04:00
Tim Griesser
e550b2d394 Adding node-mariasql as a target option 2014-06-03 23:27:37 -04:00
Tim Griesser
08fd7483c8 Even more documentation, added .pipe to the interface 2014-06-03 14:21:31 -04:00
Tim Griesser
448fd99b07 Attempt to get the new tests passing on travis 2014-06-03 02:35:55 -04:00
Tim Griesser
bd3147964c Fix #280, JSON.stringify json columns 2014-06-03 02:23:20 -04:00
Tim Griesser
da289620b2 pass the connection __cid along when running the query for helpful debugging 2014-05-08 18:31:25 -04:00
Tim Griesser
98765c38c7 adding tests for change in #265 2014-05-08 18:04:55 -04:00
Tim Griesser
c329acbb48 don't worry about failing stream test in 0.8 2014-05-06 16:45:16 -04:00
Tim Griesser
19b2b20e8b We're streaming 2014-05-05 21:54:08 -04:00
Tim Griesser
5708a73023 add nullable and defaultValue fields to columnInfo 2014-05-04 23:54:03 -04:00
Tim Griesser
63b0246db0 don't worry about the bindings for the columnInfo test 2014-04-27 18:53:25 -04:00
Johannes Lumpe
838b53a2d8 Made migration tests pass 2014-04-27 12:00:51 +03:00
Tim Griesser
84f0541efa minor spacing 2014-04-22 09:38:56 -04:00
Tim Griesser
c1ee0f5708 columnInfo, adapted code from @johanneslumpe in #190 2014-04-21 23:08:59 -04:00
Tim Griesser
4b42dc62f8 deprecate .whereRaw 2014-04-21 08:24:23 -04:00
Tim Griesser
f27c0e60fa merging refactor branch 2014-04-16 03:49:25 -04:00
Tim Griesser
6c76cc5cf0 adding jshint, cleaning unused variables 2014-04-16 03:22:47 -04:00
Tim Griesser
1e3fd57e16 updating tests for a few recent pr's 2014-04-16 02:59:27 -04:00
Tim Griesser
db2f9e7f08 merge with master 2014-04-16 02:50:19 -04:00
Tim Griesser
0de9513a78 all tests green 2014-04-16 01:23:50 -04:00
Blake Embrey
53594b9674 Add support for returning in delete query
* Adds compilation of returning in delete
* Simplify response handling
* Adds support for passing in returning columns to delete method (keeps behaviour inline with select and update)
* Adds test output checking for delete queries
2014-04-13 17:51:57 +10:00
Tim Griesser
dfdc426751 Majorly refactoring every piece of the library, WIP 2014-04-08 16:25:57 -04:00
Tim Griesser
cb9f849393 fixes #228, regression for array bindings 2014-04-02 21:28:56 -04:00
Tim Griesser
aa47c24568 additional tests & data for #219 2014-03-26 19:15:46 -04:00
Tim Griesser
1c403a5a40 Merge pull request #219 from ruifortes/master
Added support for multi-column "where in" clauses. ex:"(col1,col2) in ((1,1),(1,2),(2,1),(2,2))
2014-03-26 19:05:36 -04:00
Rui Fortes
b7bbb49364 Added tests for multi-column "whereIn" 2014-03-25 18:56:07 +00:00
Tim Griesser
90282058d8 Merge pull request #207 from kobalicekp/master
[Improvement] Replaced push.apply() calls with custom concat() function.
2014-03-20 09:06:23 -04:00
kobalicekp
b3aa0fb8dc Added integration tests for incrementing/decrementing negative numbers 2014-03-20 13:01:42 +01:00
Tim Griesser
716e3c3019 add .exec to the knex promise shim 2014-03-19 11:54:18 -04:00
Tim Griesser
eeeab07c42 reworking where values are parametereized/escaped 2014-03-14 16:56:55 -04:00
Tim Griesser
76dfc1348b fix issue with null bindings, change around the query compiler 2014-02-23 15:38:53 -05:00