833 Commits

Author SHA1 Message Date
Tim Griesser
b8dd337334 0.4.0 release 2013-09-13 17:46:03 -04:00
Tim Griesser
5ca81a5cb5 afterCreate and beforeDestroy continue to use callbacks 2013-09-13 16:50:51 -04:00
Tim Griesser
76c2dbd75e working on the docs, more internal cleanup 2013-09-13 15:36:49 -04:00
Tim Griesser
b1787cbb10 adding a toString method that properly escapes queries, fixes #59 2013-09-13 12:59:12 -04:00
Tim Griesser
71b47e925b pulling in the option feature from #64, rename to options 2013-09-13 11:40:51 -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
6cfa41a69f minor cleanup 2013-09-13 10:24:39 -04:00
Tim Griesser
1a47485d33 integration tests are workinggit st 2013-09-12 13:30:47 -04:00
Tim Griesser
847f926c38 most of the functionality is now restored 2013-09-12 02:09:29 -04:00
Tim Griesser
dc312f322b fix on the toString for clauses, unit test cleanup 2013-09-12 01:13:07 -04:00
Tim Griesser
48563dfd31 sqlite3 mostly working except for the schema things 2013-09-12 01:00:44 -04:00
Tim Griesser
522c8fff63 finally got the sqlite3 stuff working, now to just hook up the tests 2013-09-12 00:26:33 -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
9a5e3947d0 adding bigInteger, bigIncrements, unsigned on autoincrement pk 2013-09-04 20:02:28 -04:00
Tim Griesser
f9b7d0a42f adding Schema.hasColumn 2013-09-04 19:13:02 -04:00
Tim Griesser
0c6dedc58b api change, nullable by default, add notNull for not null columns 2013-09-04 18:34:59 -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
0fba8b1217 merging with master 2013-08-23 11:12:27 -04:00
Tim Griesser
5db8c8aac2 fix #45, sqlite delete doesn't show affected row count 2013-08-22 21:34:31 -04:00
Tim Griesser
f056257a60 fix for #44, default values syntax, other cleanup 2013-08-22 16:46:13 -04:00
Tim Griesser
78f8412037 Cleanup & test case for #42 2013-08-20 00:47:39 -04:00
Tim Griesser
a14ebd23f7 fixing #38 shouldn't mutate insert array 2013-08-13 17:45:53 -04:00
Tim Griesser
4df8d8b4c5 working on migration piece 2013-07-30 14:41:25 -04:00
Tim Griesser
f79d4234f6 add 'returning' method, to specify return value, fixes #18 2013-07-17 13:52:58 -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
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
55f81b3292 hasTable now returns a boolean rather than a failed promise, fixes #23 2013-07-17 07:26:05 -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
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