114 Commits

Author SHA1 Message Date
Tim Griesser
a24dedb567 Remove weird git whitespace 2014-06-12 14:07:33 -04:00
Tim Griesser
1e936ffd3c Fix #308 onDelete / onUpdate in PostgreSQL, with tests 2014-06-12 14:00:44 -04:00
Tim Griesser
246e767815 Fix for boolean default types in PostgreSQL 2014-06-10 16:40:59 -04:00
Tim Griesser
9d5fed20d1 Fix for multiple orderBy statements in sqlite3 2014-06-10 13:26:20 -04:00
Tim Griesser
04cab6df44 release 0.6.10 2014-06-10 11:52:42 -04:00
Tim Griesser
c804822c6d release 0.6.9 2014-06-09 21:28:49 -04:00
Tim Griesser
ad3f9f6f5e SQlite3 DDL fixes, more for #46
Don't throw when trying to add foreign key
Allow dropping a column in sqlite3
2014-06-09 15:28:22 -04:00
Tim Griesser
6b85f1d66f Merge with master, ensure #278 is fixed in 0.6 2014-06-04 11:29:21 -04:00
Tim Griesser
7befdf616f default to timestamptz for postgresql, #184 2014-06-04 04:10:27 -04:00
Tim Griesser
bd3147964c Fix #280, JSON.stringify json columns 2014-06-03 02:23:20 -04:00
Tim Griesser
af1f9e83ae Fix #244, normalize for inconsistent insert rows 2014-06-03 00:47:54 -04:00
Tim Griesser
d7738e772a Fixing comment & foreign key tests, full suite passing 2014-05-29 17:31:09 -04:00
Tim Griesser
94e896fd41 docs work, test cleanup, adding fix for #287 2014-05-29 13:40:34 -04:00
Tim Griesser
5726c3250f move operator to formatters, add nicer syntax for where in, where between, where is null 2014-05-09 14:42:29 -04:00
Tim Griesser
5b9336a284 sqlstring now pulled from node-mysql, pq queries escaped 2014-05-06 18:15:16 -04:00
Tim Griesser
e74f43cfe5 adding test for #211 2014-04-21 23:24:57 -04:00
Tim Griesser
c1ee0f5708 columnInfo, adapted code from @johanneslumpe in #190 2014-04-21 23:08:59 -04:00
Tim Griesser
9c21af25c9 add explicit test case from #191 2014-04-21 22:15:06 -04:00
Tim Griesser
c324b04d30 adding some benches between 0.5 and now, huge gains seen 2014-04-21 19:56:01 -04:00
Tim Griesser
9272d0ba4c more testing for #162 2014-04-21 09:50:30 -04:00
Tim Griesser
c3bf4e455b deprecate .havingRaw 2014-04-21 09:33:24 -04:00
Tim Griesser
e32de06a36 add test case for #166 2014-04-16 03:55:44 -04:00
Tim Griesser
f27c0e60fa merging refactor branch 2014-04-16 03:49:25 -04:00
Tim Griesser
4dee91551a all unit tests passing 2014-04-15 13:10:32 -04:00
Tim Griesser
a62ca4f7ee schema tests passing, some of the builder tests passing 2014-04-15 11:43:47 -04:00
Tim Griesser
dfdc426751 Majorly refactoring every piece of the library, WIP 2014-04-08 16:25:57 -04:00
Tim Griesser
ef4e5d52e8 Further changes & test for #222 2014-03-25 11:13:43 -04:00
Daryl Lau
8511171b00 more comprehensive case insensitive operator test 2014-03-22 13:18:16 -07:00
Daryl Lau
bf4e39718e allow case insensitive WHERE operators 2014-03-22 12:39:48 -07:00
Tim Griesser
eeeab07c42 reworking where values are parametereized/escaped 2014-03-14 16:56:55 -04:00
Tim Griesser
76dfc1348b fix issue with null bindings, change around the query compiler 2014-02-23 15:38:53 -05:00
Tim Griesser
55f7f28761 making stateless querying opt-in, not default 2014-02-22 17:06:33 -05:00
Tim Griesser
ede184a5be add test for #162 2014-02-21 20:47:46 -05:00
Tim Griesser
8bddaea5e2 adding several tests from recent modifications 2014-02-21 20:38:14 -05:00
Tim Griesser
28d5e48a15 accounting for the union only queries 2014-02-21 18:20:00 -05:00
Tim Griesser
549036d151 working on handling the statements 2014-02-21 17:16:11 -05:00
Tim Griesser
6470af8456 fix #182, null limit/offset does not break chain 2014-02-18 09:58:21 -05:00
Tim Griesser
4c589cc960 working on refactoring the internals 2014-02-14 12:46:13 -05:00
Tyler Kellen
0e83902c8c add pluck to builder interface
enables grabbing a single element from each row in results,
returning a promise which yields an array of those values.
2014-01-28 16:01:30 -05:00
Tim Griesser
3785575de2 shuffling around the client paths/config 2013-12-25 13:21:31 -05:00
Tim Griesser
667a20b66e switching out underscore for lodash 2013-11-25 02:00:12 -05:00
Luigy Leon
91ce6d9121 Test for aggregate function with output name. 2013-11-23 13:18:07 -05:00
Luigy Leon
35047912fe Drop default output name for aggregate functions. 2013-11-23 11:44:25 -05:00
Kia Rahimian
d26c1b7b95 fixed bug with .having() 2013-11-19 22:47:38 -05:00
Tim Griesser
17d09f2655 Merge branch 'bluebird'
* bluebird:
  cleanup on the .then interface
  swapping in bluebird, some promise cleanup
2013-11-02 09:24:17 -04:00
Tim Griesser
48096b1468 fix #98, aggregates on toString / clone 2013-10-31 10:34:20 -04:00
Tim Griesser
b20c6c3f8e swapping in bluebird, some promise cleanup 2013-10-27 22:34:58 -04:00
Tim Griesser
5c496b9fa5 remove possible sql injection in 'orderBy', thanks @sebgie 2013-10-15 09:15:42 -04:00
Tim Griesser
b70e787d25 fix for #84, adding forUpdate and forShare on transactions 2013-10-14 08:02:26 -04:00
Tim Griesser
44b96f2c53 adding tests for pool relating to #90 2013-10-14 07:36:12 -04:00