301 Commits

Author SHA1 Message Date
Tim Griesser
980931ada6 cleaning up some of the building logic for comments 2013-07-17 06:16:41 -04:00
Tim Griesser
e5018dac08 fixing foreign key issue #24 2013-07-15 19:28:09 -04:00
Vaughan Rouesnel
1efcfdf09d Merge branch 'master' into json
Conflicts:
	index.html
2013-06-17 17:06:33 +10:00
Vaughan Rouesnel
8ee495adb6 JSON datatype support for Postgres
Fallback to `text` for MySQL and SQLite.
2013-06-16 22:31:29 +10:00
Vaughan Rouesnel
6b1f368de8 Table and column comments during create table. 2013-06-16 20:27:24 +10:00
Tim Griesser
aa34504aef ensure errors are thrown for fn's, fixes #16 2013-06-12 08:43:02 -04:00
Tim Griesser
13a6e7af8b renaming beforeCreate to afterCreate, better error handling, 0.1.6 2013-06-09 16:57:31 -04:00
Tim Griesser
7163e3cd7c Adding beforeCreate and afterCreate as options on the pool's config #14 2013-06-09 13:50:43 -04:00
Tim Griesser
d8ebb38ff9 Allowing Knex.Raw statements in where clauses, #15 2013-06-08 14:26:33 -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
469d600c84 tests explicitly specifying InnoDB, fixes #6 2013-05-15 19:58:27 -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
3fa12b4856 Add another group by test 2013-05-15 15:31:07 -07: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
0b3433b7b2 final commit for 0.1.0 2013-05-13 10:38: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
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
d2ecf609e9 some docs, fixing bug in sqlite3 multi-insert 2013-05-04 20:36:19 -04:00
Tim Griesser
736dc25e56 truncate test 2013-05-04 20:10:58 -04:00
Tim Griesser
ea4f8b9033 dumping actual numbers rather than strings 2013-05-04 19:23:52 -04:00
Tim Griesser
01edc70c15 distinct test 2013-05-04 19:13:07 -04:00
Tim Griesser
e2c607e321 finally, got most of the tests going on at least the basics 2013-05-04 18:19:33 -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
ea4351a3b1 fixing sqlite3 config 2013-05-02 10:03:56 -04:00
Tim Griesser
7e90800c5f fixing config setting 2013-05-02 00:56:18 -04:00
Tim Griesser
40193fa0ea more tests 2013-05-02 00:50:54 -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
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
696859937f ensure update/insert hashes are ordered properly for bindings 2013-04-26 10:25:32 -04:00
Tim Griesser
8cb60f4ba4 Tests, internal refactoring. 2013-04-01 00:24:01 -04:00
Tim Griesser
9012aac4fa adding basic tests, updated docco 2013-03-19 20:28:03 -04:00