779 Commits

Author SHA1 Message Date
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
0eb5ad8e78 Merge pull request #243 from blakeembrey/delete-returning
Delete returning
2014-04-14 09:07:17 -04:00
Blake Embrey
53594b9674 Add support for returning in delete query
* Adds compilation of returning in delete
* Simplify response handling
* Adds support for passing in returning columns to delete method (keeps behaviour inline with select and update)
* Adds test output checking for delete queries
2014-04-13 17:51:57 +10:00
Blake Embrey
1e72beb96a Reverse expect for console output to be correct 2014-04-13 17:43:03 +10:00
Tim Griesser
9be8b41efa streams and things 2014-04-09 10:11:41 -04:00
Tim Griesser
dfdc426751 Majorly refactoring every piece of the library, WIP 2014-04-08 16:25:57 -04:00
Tim Griesser
f881a44651 Merge pull request #236 from ericeslinger/master
adding more array operators to builder for postgres array functionality
2014-04-07 17:16:31 -04:00
Eric Eslinger
861c0f561d adding more array operators to builder for postgres array functionality 2014-04-03 16:26:51 -07:00
Tim Griesser
9b6557b248 minor docs fix 2014-04-02 21:33:45 -04:00
Tim Griesser
d1ca6dc0c7 release 0.5.13 0.5.13 2014-04-02 21:31:37 -04:00
Tim Griesser
af643d9abb docs prep for release 2014-04-02 21:31:37 -04:00
Tim Griesser
cb9f849393 fixes #228, regression for array bindings 2014-04-02 21:28:56 -04:00
Tim Griesser
10312989f6 release 0.5.12 0.5.12 2014-03-31 13:23:08 -04:00
Tim Griesser
05e81f7463 docs prep for release 2014-03-31 13:23:08 -04:00
Tim Griesser
d71c9bf76e Add more things that could be considered operators, fix #226 2014-03-31 13:18:44 -04:00
Tim Griesser
aa47c24568 additional tests & data for #219 2014-03-26 19:15:46 -04:00
Tim Griesser
1c403a5a40 Merge pull request #219 from ruifortes/master
Added support for multi-column "where in" clauses. ex:"(col1,col2) in ((1,1),(1,2),(2,1),(2,2))
2014-03-26 19:05:36 -04:00
Rui Fortes
94b0bf9971 changed mocha default timeout to 3000 and removed "//CHANGED" comments 2014-03-26 09:56:40 +00:00
Tim Griesser
607bcaa7b6 update bluebird dependency 2014-03-25 17:54:41 -04:00
Rui Fortes
b7bbb49364 Added tests for multi-column "whereIn" 2014-03-25 18:56:07 +00:00
Tim Griesser
f3fe4558dd release 0.5.11 0.5.11 2014-03-25 11:31:36 -04:00
Tim Griesser
f7d440d2df docs prep for release 2014-03-25 11:31:36 -04:00
Tim Griesser
ef4e5d52e8 Further changes & test for #222 2014-03-25 11:13:43 -04:00
Tim Griesser
eeda0fbfe4 Merge pull request #222 from danschumann/patch-1
added 'is' to operators
2014-03-25 10:55:09 -04:00
danschumann
c0cb2e7997 added 'is' to operators 2014-03-25 09:17:19 -05:00
Rui Fortes
7e26212a6a Added support for multi-column "where in" clauses. ex:"(col1,col2) in ((1,1),(1,2),(2,1),(2,2)) 2014-03-25 13:04:18 +00:00
Tim Griesser
5fe25653d7 Merge pull request #212 from dlau/master
allow case insensitive WHERE operators
2014-03-22 16:32:14 -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
90282058d8 Merge pull request #207 from kobalicekp/master
[Improvement] Replaced push.apply() calls with custom concat() function.
2014-03-20 09:06:23 -04:00
kobalicekp
b3aa0fb8dc Added integration tests for incrementing/decrementing negative numbers 2014-03-20 13:01:42 +01:00
kobalicekp
f3439f7ab7 Handle undefined correctly in Builder._counter(). 2014-03-20 12:50:48 +01:00
kobalicekp
194d60b48f Fixed Builder._counter() to allow fractions and to negate the operator if the incoming number is negative. 2014-03-20 12:32:37 +01:00
Tim Griesser
5486999cb1 release 0.5.10 0.5.10 2014-03-19 11:56:00 -04:00
Tim Griesser
b6e5ba992e docs prep for release 2014-03-19 11:55:59 -04:00
Tim Griesser
716e3c3019 add .exec to the knex promise shim 2014-03-19 11:54:18 -04:00
kobalicekp
e95026a4c3 Replaced push.apply() calls with custom concat() function so the V8 stack will not exhaust when a complex query is being processed 2014-03-19 13:23:35 +01:00
Tim Griesser
c06d787fd7 a bit of work on the query compiler pieces 2014-03-18 15:38:35 -04:00
Tim Griesser
403449f4e3 release 0.5.9 0.5.9 2014-03-18 15:36:40 -04:00
Tim Griesser
c1376817ce docs prep for release 2014-03-18 15:36:40 -04:00
Tim Griesser
b12eba8657 Merge pull request #206 from will123195/handle-disconnect
remove disconnected connections from the pool
2014-03-18 15:32:38 -04:00
Will Schmid
02f5ac3726 remove disconnected connection from the pool
log disconnects

test

test

test

test

clean up
2014-03-18 15:12:12 -04:00
Tim Griesser
1e02375eb7 Merge pull request #202 from rubenv/patch-1
Quote Node versions.
2014-03-15 07:52:16 -04:00
Ruben Vermeersch
7467183e9b Quote Node versions.
Node versions in the Travis configuration should be quoted, otherwise yaml sees this as `0.1` rather than `0.10`. This currently works because Travis treats the unknown `0.1` as `latest`, which is `0.10`, but it'll stop doing what you expect once `0.12` is out.
2014-03-15 10:32:27 +01:00
Tim Griesser
eeeab07c42 reworking where values are parametereized/escaped 2014-03-14 16:56:55 -04:00
Tim Griesser
e65db4707c Merge pull request #200 from xaka/patch-2
Add support for pure JS driver for PostgreSQL
2014-03-14 10:21:37 -04:00
Pavel Strashkin
63cbe1420b Add support for pure JS driver for PostgreSQL
As there is no way to tell `npm` to not compile native driver, we should use https://github.com/brianc/node-postgres-pure instead which is exactly the same library without native driver. Please take a look at project's homepage.
2014-03-12 15:04:42 -07:00
Tim Griesser
5d11e0217c Merge pull request #199 from will123195/handle-disconnect
add connection termination listener
2014-03-06 19:16:06 -05:00
Will Schmid
ee8660fd0a remove console logs 2014-03-06 19:03:44 -05:00