908 Commits

Author SHA1 Message Date
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
Will Schmid
25dac25ad1 add connection termination listener 2014-03-06 18:57:27 -05:00
Tim Griesser
eaddb562de Merge pull request #197 from MayhemYDG/patch-1
Remove dead Builder.prototype.option() function.
2014-03-05 14:22:58 -05:00
Mayhem
0e5817a57a Add the "unused" option in .jshintrc 2014-03-05 20:16:42 +01:00
Mayhem
9a052f421f Throw an error when an invalid operator is passed in the where clause generation. 2014-03-05 20:11:38 +01:00
Mayhem
cbed64e974 Remove dead Builder.prototype.option() function.
It was replaced with options().
2014-03-05 20:05:44 +01:00
Tim Griesser
499c70db7d Merge pull request #195 from MayhemYDG/patch-1
Typo in docs
2014-03-04 18:00:03 -05:00
Mayhem
2ef68f5ed2 Typo in docs
+ci
2014-03-04 23:24:27 +01:00
Tim Griesser
42012c9fa9 release 0.5.8 0.5.8 2014-02-27 12:24:29 -05:00
Tim Griesser
52beeb55b7 docs prep for release 2014-02-27 12:24:28 -05:00
Tim Griesser
c5f42e3099 re-fixing #84, forUpdate / forShare 2014-02-27 11:54:45 -05:00
Tim Griesser
76dfc1348b fix issue with null bindings, change around the query compiler 2014-02-23 15:38:53 -05:00
Tim Griesser
ff88ea7bfe Merge pull request #189 from llambda/master
Examples for increment and decrement
2014-02-23 12:15:40 -05:00
llambda
2976511b93 Examples for increment and decrement 2014-02-23 10:36:13 -06:00
Tim Griesser
cf95f09cf0 0.6.0-alpha1 2014-02-22 17:34:55 -05:00
Tim Griesser
55f7f28761 making stateless querying opt-in, not default 2014-02-22 17:06:33 -05:00
Tim Griesser
765978b474 underscore compatible 2014-02-22 13:33:46 -05:00
Tim Griesser
0fa7bd9523 fixing some global leaks 2014-02-22 12:16:01 -05:00
Tim Griesser
3803c21a78 ~ rather than ^ for underscore dependency 2014-02-22 11:44:20 -05:00
Tim Griesser
4a352974ff docs from master, updating package.json 2014-02-22 11:27:52 -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