779 Commits

Author SHA1 Message Date
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
8f82435f8b Version 0.2.2 2013-08-19 21:28:22 -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
20d6ae3e7d release 0.2.1 0.2.1 2013-08-13 17:49:41 -04:00
Tim Griesser
a14ebd23f7 fixing #38 shouldn't mutate insert array 2013-08-13 17:45:53 -04:00
Tim Griesser
e290513713 updating devDependencies 2013-08-07 13:41:04 -04:00
Tim Griesser
9609eb0ad5 add link to change-log 2013-08-07 13:20:25 -04:00
Tim Griesser
8c940110bc 0.2.0 0.2.0 2013-08-07 12:24:36 -04:00
Tim Griesser
9e7a8de65e Merge branch 'gh-pages'
* gh-pages:
  putting some polish on the test suite, runQuery now lives on the prototype
2013-08-07 12:24:22 -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
19dfa3486d correct call for base query flush 2013-08-06 11:29:46 -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
Tim Griesser
4236f517f3 Merge pull request #26 from rmacy/patch-1
throw helpful exception when you mistype the client
2013-07-21 12:39:31 -07: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
dafbbad44c don't null the transaction until it's completed flushing 2013-07-18 00:28:54 -04:00
Tim Griesser
f79d4234f6 add 'returning' method, to specify return value, fixes #18 2013-07-17 13:52:58 -04:00
Tim Griesser
4aca7d3210 removing travis email notifications 2013-07-17 10:59:24 -04:00
Tim Griesser
b43592bd06 fixing test output for travis 2013-07-17 10:39:09 -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
bf5af801c9 support for enum in postgresql, fixes #21 2013-07-17 08:38:33 -04:00
Tim Griesser
01cc2f755b using datetime rather than timestamp for the 'timestamps' method 2013-07-17 08:38:05 -04:00
Tim Griesser
55f81b3292 hasTable now returns a boolean rather than a failed promise, fixes #23 2013-07-17 07:26: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
6db4ce1d0f default to drain the pool on the process 'exit' event 2013-07-17 05:03:37 -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
ec5ce94aa9 missing semicolon 2013-07-12 14:20:05 -04:00
Tim Griesser
79aecafdf4 foreign key support, #24 2013-07-11 17:05:21 -04:00
Tim Griesser
4c6a24c363 Merge branch 'master' into gh-pages
* master:
  0.1.8
  ensure transaction has the proper context, allow resolving the transaction with a value
  fixing link for laravel query builder
  Comment documentation.
  Table and column comments during create table.
  remove unnecessary function
2013-07-07 14:00:04 -04:00
Tim Griesser
2b7c23acc2 0.1.8 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
Tim Griesser
c37b6d722b fixing link for laravel query builder 2013-06-18 10:04:59 -04:00
Vaughan Rouesnel
1efcfdf09d Merge branch 'master' into json
Conflicts:
	index.html
2013-06-17 17:06:33 +10:00
Tim Griesser
690fae861f Merge pull request #17 from vjpr/comments
Table and column comments during create table.
2013-06-16 20:23:56 -07: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
7a507f9172 Comment documentation. 2013-06-16 20:49:04 +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