229 Commits

Author SHA1 Message Date
Tim Griesser
21c0ad5d33 finishing changes for foreign key support, fixes #24 2013-07-17 07:10:19 -04:00
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
Tim Griesser
225861f266 allow empty value passed to transacting function 2013-07-12 14:21:22 -04:00
Tim Griesser
79aecafdf4 foreign key support, #24 2013-07-11 17:05:21 -04:00
Tim Griesser
2b7c23acc2 0.1.8 2013-07-07 13:59:49 -04:00
Tim Griesser
fb3d1e436e Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  Comment documentation.
  Table and column comments during create table.
2013-07-04 13:57:03 -04:00
Tim Griesser
879858869b ensure transaction has the proper context, allow resolving the transaction with a value 2013-07-04 13:56:47 -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
0a412468bc remove unnecessary function 2013-06-12 09:08:07 -04:00
Tim Griesser
38136e5cfc 0.1.7 2013-06-12 08:44:49 -04: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
181b2e4aaa 0.1.5 2013-06-09 14:05:30 -04:00
Tim Griesser
d8ebb38ff9 Allowing Knex.Raw statements in where clauses, #15 2013-06-08 14:26:33 -04:00
Tim Griesser
c9eedbd659 shouldn't need bindings on raw queries 2013-06-08 13:55:03 -04:00
Tim Griesser
5273bcbc87 minor code tweak 2013-06-06 00:25:58 -04:00
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