251 Commits

Author SHA1 Message Date
Tim Griesser
7b496b7847 moving to CommonJS style module system for use outside of the server 2013-08-21 12:17:37 -04:00
Tim Griesser
745d36c295 prep for 0.2.2 2013-08-20 00:50:04 -04:00
Tim Griesser
78f8412037 Cleanup & test case for #42 2013-08-20 00:47:39 -04:00
Loren Van Spronsen
9daeaaca8d Re-added support for Knex.Raw as table 2013-08-19 21:34:40 -07:00
Loren Van Spronsen
18baacf79e Allow primary table in select to be query expression. Fixes #42 2013-08-19 21:11:21 -07:00
Tim Griesser
cef088a755 updated docs for 0.2.1 2013-08-13 17:50:22 -04:00
Tim Griesser
a14ebd23f7 fixing #38 shouldn't mutate insert array 2013-08-13 17:45:53 -04:00
Tim Griesser
8c940110bc 0.2.0 2013-08-07 12:24:36 -04:00
Tim Griesser
bb21643539 fixing insert column ordering, fixes #31 2013-08-07 10:22:46 -04:00
Tim Griesser
129fa3ebde Merge branch 'master' into migrate
* master:
  restore basic raw binding support, needs refactor
  lowercasing when
  correct call for base query flush
2013-08-06 22:35:19 -04:00
Tim Griesser
339ab8df4c restore basic raw binding support, needs refactor 2013-08-06 22:32:56 -04:00
Tim Griesser
5a5f55b04d lowercasing when 2013-08-06 12:27:36 -04:00
Tim Griesser
4df8d8b4c5 working on migration piece 2013-07-30 14:41:25 -04:00
Tim Griesser
5906ae1e53 minor tweak to error wording 2013-07-21 15:42:26 -04:00
Tim Griesser
5bab7a83ae Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  throw helpful exception when you mistype the client
2013-07-21 15:39:49 -04:00
Ryan Macy
989e47a789 throw helpful exception when you mistype the client
Catch any exceptions thrown when requiring a client file and throw a more helpful exception.
2013-07-20 17:05:07 -05:00
Tim Griesser
f79d4234f6 add 'returning' method, to specify return value, fixes #18 2013-07-17 13:52:58 -04:00
Tim Griesser
f9ae04a06b adding support for the uuid data type 2013-07-17 10:26:24 -04:00
Tim Griesser
14b2361214 version check on the current client 2013-07-17 09:53:00 -04:00
Tim Griesser
acfd8ecce5 merging PR #20 from vjpr:json 2013-07-17 09:52:19 -04:00
Tim Griesser
01cc2f755b using datetime rather than timestamp for the 'timestamps' method 2013-07-17 08:38:05 -04:00
Tim Griesser
a8c1b5355c a few more tweaks to get the foreign key support just right 2013-07-17 07:17:52 -04:00
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