maximelkin
531714804b
Use util.promisify instead of Bluebird.promisify ( #3470 )
2019-10-15 09:11:59 +02:00
Igor Savin
fb06464da0
Update tarn.js ( #3345 )
...
* Update tarn.js
* Remove beforeDestroy
2019-07-11 14:57:59 +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
Brian Black
56d808fe0a
set SqlString for base client
2015-11-29 18:44:12 -05:00
Brian Black
cee729cad0
Properly escape single quotes in postgres
2015-11-29 18:44:12 -05:00
Brian Black
c6230568cd
SqlString is now per-dialect
2015-11-29 18:44:12 -05:00
Mikael Lepistö
fef0a09197
Did npm run build
2015-08-25 10:23:34 +03:00
Tim Griesser
f54bb0f77e
Fixing #823 , regression from #822
2015-05-14 00:43:04 -04:00
Tim Griesser
054be46068
Fix #822 , pool: {max: 0} should not init pooling
2015-05-13 15:20:01 -04:00
Tim Griesser
7e884cb325
Babel src -> lib, remove gulp
2015-05-09 13:58:18 -04:00
Tim Griesser
e179634600
Switch to shell script for release, other tidying of config/directories
2015-04-29 19:13:50 -04:00
Tim Griesser
ff76297506
Normalize connection config, fix #789
2015-04-29 15:14:41 -04:00
Tim Griesser
e011768124
Adding back debug
2015-04-28 19:34:11 -04:00
Tim Griesser
f735dcb9c8
Raw identifiers and named parameters
...
Adds ?? for interpolating identifiers in raw
statements. Also adds raw(sql, obj) for
named :key syntax. Alternatively, 🔑
(trailing colon) may be used to specify an
identifier as a parameter.
2015-04-27 15:58:48 -04:00
Tim Griesser
36ced91ed5
Testing transactions, beginning to use tape, adding query to error message
2015-04-24 10:10:34 -04:00
Tim Griesser
46e318d6da
Cleaning up transactions, passing options arg to pipe
2015-04-23 14:51:33 -04:00
Tim Griesser
c8232d11d3
Merge with master, cleanup on mysql2/maria
2015-04-22 16:19:59 -04:00
Tim Griesser
e570c167c1
JSHint and formatting
2015-04-22 15:39:29 -04:00
Tim Griesser
2bc85cb7a5
Pool should be 1 for sqlite3 unless WAL is enabled
2015-04-22 11:45:12 -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
Calvin Metcalf
4c7417af08
return when Client.prototype.destroy resolves
...
Closes #775
2015-04-16 15:40:27 -04:00
Tim Griesser
776acf3f30
Fix #516 , connection parameters not properly preserved
2014-10-03 11:03:34 -04:00
Vincent Schoettke
f3874ac651
Fixed several jshint warnings. Added strict mode
2014-09-01 17:19:34 +02:00
Vincent Schoettke
efdb3bde02
Fixed ignoring callback on client destroy
2014-09-01 16:01:18 +02:00
Noah Santorello
f8d01e9901
Initial commit of seed functionality
2014-07-21 09:42:56 -04:00
Tim Griesser
ae2b5a3b24
Move destroy method to client, proxy from knex.destroy
2014-07-14 13:48:17 -04: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
f7ad182e68
working on a lot of tooling, migration pieces
2014-05-28 22:29:34 -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
c1ee0f5708
columnInfo, adapted code from @johanneslumpe in #190
2014-04-21 23:08:59 -04:00
Tim Griesser
c6dac39cb7
minor code cleanup
2014-04-16 10:41:16 -04:00
Tim Griesser
6c76cc5cf0
adding jshint, cleaning unused variables
2014-04-16 03:22:47 -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
dfdc426751
Majorly refactoring every piece of the library, WIP
2014-04-08 16:25:57 -04:00