251 Commits

Author SHA1 Message Date
Jason LeBrun
90f7276464 Add tests for count & groupBy, and fix groupBy 2013-05-15 14:57:00 -07:00
Jason LeBrun
4142b7914e Add support and tests for <> operator
It's referenced in the docs, but missing from the library
2013-05-15 13:36:49 -07:00
Tim Griesser
78ac38df28 minor bug fixes, docs addition, cutting 0.1.1 2013-05-14 17:33:42 -04:00
Tim Griesser
ef6dacd610 adding pg as an alias of postgres for the client list, minor tweaks to the Initialize 2013-05-14 16:59:34 -04:00
Tim Griesser
0b3433b7b2 final commit for 0.1.0 2013-05-13 10:38:28 -04:00
Tim Griesser
9928af4682 updating when dependency, storing the promise on the current object per the spec 2013-05-10 14:12:28 -04:00
Tim Griesser
e0cafbb927 putting some polish on the test suite, runQuery now lives on the prototype 2013-05-09 05:45:59 -04:00
Tim Griesser
a9faa909e3 switching to when.js for promises 2013-05-08 20:16:39 -04:00
Tim Griesser
4da1986190 multi-instance really working 2013-05-08 16:52:44 -04:00
Tim Griesser
0b418bd283 allowing raw queries, with Knex.Raw 2013-05-08 12:27:33 -04:00
Tim Griesser
533251ad55 removing unneeded prepping for query, table name is optional to start the query 2013-05-07 15:20:48 -04:00
Tim Griesser
cbc25c62fa fixing issues with improper queuing on the schema queries 2013-05-07 13:31:42 -04:00
Tim Griesser
da457290b3 more tests, a little bit of cleanup internally 2013-05-05 13:54:43 -04:00
Tim Griesser
09e9c60912 working on the tests, internal cleanup 2013-05-05 12:38:32 -04:00
Tim Griesser
96e5b2731c using fin rather than then for sqlite3 client pool 2013-05-04 21:37:10 -04:00
Tim Griesser
736dc25e56 truncate test 2013-05-04 20:10:58 -04:00
Tim Griesser
01edc70c15 distinct test 2013-05-04 19:13:07 -04:00
Tim Griesser
eac78db9f8 fixing some tests 2013-05-04 16:27:58 -04:00
Tim Griesser
1b5fa05636 got most things working other than async logic in tests 2013-05-04 14:36:41 -04:00
Tim Griesser
726a05bd43 a ton more changes to tons of things, getting close 2013-05-04 12:23:55 -04:00
Tim Griesser
459edea0ff fixing primary key issue for now 2013-05-04 02:57:12 -04:00
Tim Griesser
2b86a00d98 finally, got a decent amount of the tests & stuff in place 2013-05-03 23:16:15 -04:00
Tim Griesser
6ad3d4d686 lots of work cleaning up the interfaces 2013-05-03 18:10:22 -04:00
Tim Griesser
d76b400048 different fixes, beginning 'then' refactor 2013-05-03 12:51:54 -04:00
Tim Griesser
c75f087984 cleaning up the connections a bit 2013-05-03 00:20:51 -04:00
Tim Griesser
4e08e5035a fix for node 0.6 2013-05-02 10:25:55 -04:00
Tim Griesser
295e18e762 working on tests, fixing up the postgres client, a few other fixes 2013-05-02 00:21:49 -04:00
Tim Griesser
8f748b2ad4 better debug, remove getInstance 2013-05-01 08:32:29 -04:00
Tim Griesser
19721fe22d connection set on builder, not passed in 2013-05-01 01:10:49 -04:00
Tim Griesser
44d2ede0cc fixing some issues with connections & debugging 2013-05-01 01:01:35 -04:00
Tim Griesser
4339125a00 getting there with the multi-instance piece... 2013-05-01 00:28:02 -04:00
Tim Griesser
cc66fc11fd cleaner interface for transactions 2013-04-30 19:08:47 -04:00
Tim Griesser
bd4256de4f fixing merge conflict while working on multi-instance 2013-04-30 18:32:13 -04:00
Tim Griesser
4ff2bc890a some work on multi-instance 2013-04-30 18:29:53 -04:00
Tim Griesser
d41e19609f fixing precision on float/decimal to not treat 0 as falsy 2013-04-29 15:52:16 -04:00
Tim Griesser
3de0a50e11 finished up an initial version of the transactions api 2013-04-29 10:44:41 -04:00
Tim Griesser
3c28a90cb5 working on transaction api 2013-04-28 20:58:38 -04:00
Tim Griesser
641681c99c omitting wheres from inserts 2013-04-26 11:28:50 -04:00
Tim Griesser
696859937f ensure update/insert hashes are ordered properly for bindings 2013-04-26 10:25:32 -04:00
Tim Griesser
779030e7e7 fixing issue with increments id, adding debug for config 2013-04-25 21:04:56 -04:00
Tim Griesser
bab186562e allowing tinyint as alias for tinyInteger 2013-04-22 09:06:07 -04:00
Tim Griesser
be2273d596 adding bit column, integer constraint, other text types, other fixes 2013-04-21 18:26:22 -04:00
Tim Griesser
a91208c070 fixing bug on insert, removing concept of idAttribtue 2013-04-11 08:29:11 -04:00
Tim Griesser
8cb60f4ba4 Tests, internal refactoring. 2013-04-01 00:24:01 -04:00
Tim Griesser
2852a85de8 lowercase initalize, adding builder.toJSON 2013-03-29 15:41:59 -04:00
Tim Griesser
95cbec5b87 fixes for sqlite3 inserts 2013-03-22 14:30:00 -04:00
Tim Griesser
9012aac4fa adding basic tests, updated docco 2013-03-19 20:28:03 -04:00
Tim Griesser
434a2792d5 cleaning up some of the wheres 2013-03-12 17:23:44 -04:00
Tim Griesser
3899f738b8 cleaning up naming 2013-03-12 12:58:33 -04:00
Tim Griesser
44fdba2395 moving schema grammar files into client adapters 2013-03-12 12:45:54 -04:00