60 Commits

Author SHA1 Message Date
Tim Griesser
837ddd0118 minor cleanup, 0.1.4 2013-05-22 13:10:42 -04:00
Tim Griesser
d0ab01a5da fixes for defaults 2013-05-22 12:37:29 -04:00
Tim Griesser
08497a5770 Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  Fix table aliases in joins
2013-05-18 10:50:55 -04:00
Tim Griesser
45c8bff487 fixing issues with transactions 2013-05-18 00:11:25 -04:00
Jason LeBrun
3b16321074 Fix table aliases in joins
Support the intended "table as alias" syntax for table names.
2013-05-16 16:12:47 -07:00
Tim Griesser
3e551179dd 0.1.2 2013-05-15 19:39:20 -04:00
Tim Griesser
19748e4c0b docs fixup, adding modifier on createTable 2013-05-15 19:25:51 -04:00
Tim Griesser
0f38f04de2 adding ability to specify engine, collation, charset on createTable 2013-05-15 19:05:55 -04:00
Tim Griesser
567ef6b6d7 fixing case sensitivity, minor spacing fix 2013-05-15 18:50:35 -04:00
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