40 Commits

Author SHA1 Message Date
maximelkin
84fce33f69 Remove bluebird.using (#3552) 2019-11-28 20:44:18 +01:00
maximelkin
d01600ba0d refactor(bluebird): remove Bluebird.bind (#3477) 2019-10-15 23:03:35 +02:00
Ricardo Graça
9aa7085b05 Rename src directory to lib (#3338) 2019-07-10 23:48:43 +02:00
Mikael Lepistö
7140a48226 Remove generated lib from repository and run build in prepublish 2016-01-21 09:59:30 +02:00
Sky Morey
aa8df07711 merge 2015-12-14 11:10:46 -06:00
Sky Morey
7c1120e0e2 in progress 2015-12-08 11:37:31 -06:00
Kris Reeves
f83d28e508 Don't attempt to release resources that have been disposed of already 2015-09-12 09:43:40 -07:00
Tim Griesser
7b3d4bf96c Add test for postgres stream 2015-06-01 15:45:02 -04:00
Tim Griesser
6cef074236 Fix correct files for #851 2015-06-01 09:22:27 -04:00
Tim Griesser
421cb4f4eb Commit compiled files 2015-06-01 09:17:11 -04:00
Kris Reeves
1135b3e72f Fix #849?
Keep the resource checked out while streaming the response!
2015-05-29 12:07:32 -04:00
Tim Griesser
7e884cb325 Babel src -> lib, remove gulp 2015-05-09 13:58:18 -04:00
Tim Griesser
e011768124 Adding back debug 2015-04-28 19:34:11 -04:00
Tim Griesser
e570c167c1 JSHint and formatting 2015-04-22 15:39:29 -04:00
Tim Griesser
f9aab9dc76 Major internal refactor
Beefed up transaction implementation, still needs tests
and cleanup of nested transaction queues.

Left todo:
- Fix commented out tests
- Fix oracle driver's transactions
2015-04-22 10:34:14 -04:00
Tim Griesser
eee4e9c005 Fixing the overall class dependency approach, lots of internal cleanup, WIP 2015-04-19 16:31:52 -04:00
Tim Griesser
27cd9f12c5 Cleanup pool implementation, preparing things for new release 2015-04-17 15:00:08 -04:00
Kagami Hiiragi
c26466dea8 Allow debugging to be disabled for a query
Closes #725, Closes #728
2015-03-12 17:26:57 -04:00
Tim Griesser
9ecd443417 Add .beginTransaction method for consistency, fix #458 2014-09-03 16:19:52 -04:00
Fabian Becker
077a7e0e60 Prevent executing a query when no connection exists
no ref
2014-09-02 12:04:21 +02:00
Vincent Schoettke
f3874ac651 Fixed several jshint warnings. Added strict mode 2014-09-01 17:19:34 +02:00
Sean Sullivan
d8eda3fad6 Do not attempt to release undefined connections from pool, #414 2014-08-15 15:40:32 -07:00
Tim Griesser
0b1af71ac3 Cleanup for #383 2014-08-14 15:32:26 -04:00
Tim Griesser
a1be2e9663 Fix #337, stream only syntax should not return a promise 2014-06-25 02:42:22 -04:00
Tim Griesser
4e79c27a07 Adding missing promise map / reduce proxies 2014-06-23 19:00:21 -04:00
Tim Griesser
87e4cc9435 Comments and a few minor changes to start event 2014-06-22 15:11:01 -04:00
Whitney Young
c957e7b184 Emit start & end events for queries being run. 2014-06-22 11:13:28 -07:00
Tim Griesser
7645804ec2 Make the client object an EventEmitter, #336
Proxy any events to the "knex" instance from the
client object.
2014-06-20 07:31:52 -04:00
Tim Griesser
c3f21e47cd Fix #298 and tests 2014-06-06 17:27:59 -04:00
Tim Griesser
da289620b2 pass the connection __cid along when running the query for helpful debugging 2014-05-08 18:31:25 -04:00
Tim Griesser
a133b53899 Transaction object are now fully functional, scoped knex objects, #265 2014-05-08 17:58:07 -04:00
Tim Griesser
c329acbb48 don't worry about failing stream test in 0.8 2014-05-06 16:45:16 -04:00
Tim Griesser
4a189d056d adding pipe interface, readable-stream module 2014-05-06 16:18:39 -04:00
Tim Griesser
58274c618d minor git spacing issues 2014-05-05 22:00:29 -04:00
Tim Griesser
19b2b20e8b We're streaming 2014-05-05 21:54:08 -04:00
Tim Griesser
2f6a42dd5e event emitters everywhere, standard 'query' event 2014-04-27 19:35:36 -04:00
Tim Griesser
0de9513a78 all tests green 2014-04-16 01:23:50 -04:00
Tim Griesser
a62ca4f7ee schema tests passing, some of the builder tests passing 2014-04-15 11:43:47 -04: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