229 Commits

Author SHA1 Message Date
Tim Griesser
ab49a4b93c doc updates for 0.4.5 2013-09-24 09:15:50 -04:00
Tim Griesser
15096468ff fix for debug method not debugging query, 0.4.4 prep 2013-09-22 17:42:53 -04:00
Tim Griesser
96a7a9e747 fix for #78, underscore not included in various grammar files 2013-09-18 11:56:46 -04:00
Tim Griesser
11bb681baa lots of docs & updated comments 2013-09-17 07:15:18 -04:00
Tim Griesser
ee1efa50e3 Attaching grammars directly onto client instances, fixes #74
Allows passing in an intitialized client instance to the constructor
2013-09-17 06:54:26 -04:00
Tim Griesser
1d21980eef prep for 0.4.1 2013-09-16 10:49:30 -04:00
Tim Griesser
a88024af8f 0.4.0 2013-09-13 17:14:47 -04:00
Tim Griesser
9cf602de1b Graduating from docco... onto groc 2013-09-13 13:52:38 -04:00
Tim Griesser
80c03073c7 Added a flags property on the builder...
Flags property for tracking distinct, limit, offset, etc.
Added a 'type' on the JoinClause object, other minor changes
2013-09-13 10:51:12 -04:00
Tim Griesser
634f4751a1 mysql and pg are mostly working, now onto sqlite3 2013-09-11 23:36:55 -04:00
Tim Griesser
01c4a83d35 lots of library restructure / unit test work 2013-09-08 15:57:32 -04:00
Tim Griesser
faa2497ef1 wip unit tests & refactoring 2013-09-05 16:36:49 -04:00
Tim Griesser
2bf076f15a some work on the new knex architecture 2013-09-04 20:47:27 -04:00
Tim Griesser
a59baeb01f very incomplete, wip migration 2013-09-04 20:36:56 -04:00
Tim Griesser
f9b7d0a42f adding Schema.hasColumn 2013-09-04 19:13:02 -04:00
Tim Griesser
f3a59a867b a bit hacked together on the sqlite3, but renameColumn for all db's 2013-09-04 17:32:32 -04:00
Tim Griesser
3deabd8ee7 fixing how the client is injected in the constructor 2013-09-03 23:34:38 -04:00
Tim Griesser
b18ef3d371 more refactoring, prep for non-server interfaces 2013-09-03 23:22:02 -04:00
Tim Griesser
32917a622e beginning to setup for enabling a client adapter 2013-09-03 23:02:23 -04:00
Tim Griesser
5f31aedfe1 more of slicing the library up into various components 2013-09-03 22:25:54 -04:00
Tim Griesser
10940cd0c3 beginning to properly modularize things 2013-09-03 22:01:31 -04:00
Tim Griesser
3efa857e17 Merge branch 'master' into migrate
* master:
  release 0.2.6
  prep for 0.2.6
  reject transaction promise if commit fails (fixes #50)
  release 0.2.5
  fix for #49, prep for 0.2.5
2013-08-29 11:01:23 -04:00
Tim Griesser
eac59123de prep for 0.2.6 2013-08-29 09:55:24 -04:00
Tim Griesser
6879f166f2 fix for #49, prep for 0.2.5 2013-08-25 22:31:48 -04:00
Tim Griesser
0fba8b1217 merging with master 2013-08-23 11:12:27 -04:00
Tim Griesser
d4b42f7a97 0.2.4 release doc edits 2013-08-22 21:42:18 -04:00
Tim Griesser
f056257a60 fix for #44, default values syntax, other cleanup 2013-08-22 16:46:13 -04:00
Tim Griesser
e4bbaefe5d minor spelling & formatting 2013-08-22 16:04:20 -04:00
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