46 Commits

Author SHA1 Message Date
Tim Griesser
b58269403d Support both array and variable arg key syntax, #485 2014-10-01 16:10:53 -04:00
Michael Demmer
18179bd2de fix off-by-one error in sqlite insertChunked 2014-09-18 10:59:18 -07:00
Flux Xu
7c5411db8f Fix SQLite composite primary key 2014-09-12 17:21:36 -04:00
Vincent Schoettke
72cf342273 Fixes #319. Inserting multiple rows with default values 2014-09-08 16:10:43 +02:00
Tim Griesser
9ecd443417 Add .beginTransaction method for consistency, fix #458 2014-09-03 16:19:52 -04:00
Vincent Schoettke
ef173db790 Changed jshint option unused to true and fixed warnings 2014-09-02 22:56:51 +02:00
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
f3874ac651 Fixed several jshint warnings. Added strict mode 2014-09-01 17:19:34 +02: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
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
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
Tim Griesser
0b1af71ac3 Cleanup for #383 2014-08-14 15:32:26 -04:00
Tim Griesser
f117efa343 Merge pull request #383 from calvinmetcalf/create-if-not
Create if not
2014-08-14 15:10:48 -04:00
Tim Griesser
8cfd8df117 Merge pull request #396 from sweetpi/master
Don't use "collate nocase" in sqlite order by, because it makes things t...
2014-08-11 10:18:07 -04:00
Oliver Schneider
0cffdc6c8c Removed "collate nocase" in test order by. 2014-07-25 23:16:02 +02:00
Oliver Schneider
2b0c930f2f Don't use "collate nocase" in sqlite order by, because it makes things terrible slow, because no index is used. 2014-07-25 22:31:30 +02:00
Noah Santorello
79faa5177c Finished seeder integration for various dialects 2014-07-21 18:06:58 -04: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
Calvin Metcalf
957cad6a43 create if not exists 2014-07-17 11:27:02 -04:00
Michael Williams
d6554b1817 properly forward stream errors 2014-07-07 22:44:28 -07: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
9d5fed20d1 Fix for multiple orderBy statements in sqlite3 2014-06-10 13:26:20 -04:00
Tim Griesser
04cab6df44 release 0.6.10 2014-06-10 11:52:42 -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
e73217e4c5 release 0.6.2 2014-06-04 16:24:29 -04:00
Tim Griesser
6b85f1d66f Merge with master, ensure #278 is fixed in 0.6 2014-06-04 11:29:21 -04:00
Tim Griesser
08fd7483c8 Even more documentation, added .pipe to the interface 2014-06-03 14:21:31 -04:00
Tim Griesser
5726c3250f move operator to formatters, add nicer syntax for where in, where between, where is null 2014-05-09 14:42:29 -04:00
Tim Griesser
a133b53899 Transaction object are now fully functional, scoped knex objects, #265 2014-05-08 17:58:07 -04:00
Tim Griesser
fe617a6227 different stream implementation for the sqlite3 runner 2014-05-06 11:06:27 -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
c1ee0f5708 columnInfo, adapted code from @johanneslumpe in #190 2014-04-21 23:08:59 -04:00
Tim Griesser
c6dac39cb7 minor code cleanup 2014-04-16 10:41:16 -04:00
Tim Griesser
17c41f1b20 renaming utils to helpers, helper to utils 2014-04-16 04:29:20 -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
0de9513a78 all tests green 2014-04-16 01:23:50 -04:00
Tim Griesser
4dee91551a all unit tests passing 2014-04-15 13:10:32 -04:00
Tim Griesser
a62ca4f7ee schema tests passing, some of the builder tests passing 2014-04-15 11:43:47 -04:00
Tim Griesser
9be8b41efa streams and things 2014-04-09 10:11:41 -04:00
Tim Griesser
dfdc426751 Majorly refactoring every piece of the library, WIP 2014-04-08 16:25:57 -04:00