1088 Commits

Author SHA1 Message Date
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
Tim Griesser
d5da83dbfc instanceof check in defaultTo 2014-02-21 19:26:56 -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
897b0ea3b5 adding map & reduce from bluebirds' implementations 2014-02-19 22:43:06 -05:00
Tim Griesser
e6b2267bfe _runChain on the builder 2014-02-19 18:25:21 -05:00
Tim Griesser
68d26b5e95 release 0.5.7 2014-02-18 10:05:12 -05:00
Tim Griesser
d00c6e3682 docs prep for release 2014-02-18 10:05: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
6a2e3352a7 empty knex call starts new query chain 2014-02-18 09:49:28 -05:00
Tim Griesser
5393cad7a0 only one tableName per query call 2014-02-18 09:49:18 -05:00
Tim Griesser
1bcd00f692 Merge pull request #181 from beppu/master
Added examples to docs for knex migration tool.
2014-02-14 13:26:41 -05:00
John BEPPU
3deef60337 added examples to help newcomers with migrations 2014-02-14 10:08:08 -08:00
Tim Griesser
89a3dec0c9 0.6.0-wip 2014-02-14 12:46:13 -05:00
Tim Griesser
4c589cc960 working on refactoring the internals 2014-02-14 12:46:13 -05:00
John BEPPU
0619663d1a added knex migration template for LiveScript 2014-02-13 09:54:37 -08:00
Ben Drucker
e508f10772 Merge pull request #177 from valet-io/docs/charset
[Docs] Config option handling + MySQL charsets
2014-02-06 07:51:22 -05:00
Ben Drucker
8bbd6cd7bd Documentation note about config options + MySQL charsets via node-mysql. Fixes #168. 2014-02-05 13:10:11 -05:00
Tim Griesser
2c6cb7458c release 0.5.6 0.5.6 2014-02-05 10:58:25 -05:00
Tim Griesser
5b63334b68 docs prep for release 2014-02-05 10:58:25 -05:00
Tim Griesser
d16167243e bumping bluebird dependency 2014-02-05 10:55:24 -05:00