maximelkin
84fce33f69
Remove bluebird.using ( #3552 )
2019-11-28 20:44:18 +01:00
maximelkin
03ecbeef1f
Bluebird remove return, reflect, fromCallback ( #3483 )
2019-10-25 19:59:30 +02:00
Igor Savin
988fb24389
Fix MSSQL escaping ( #3382 )
2019-10-06 20:21:32 +02:00
Martti Laine
5417cacdb1
Fix for concurrent child transactions failing ( #2213 ) ( #3440 )
...
* Fix for concurrent child transactions failing (#2213 )
* Skip new sibling transaction test for mssql
* Update test to ensure Promise resolve order
2019-09-20 14:37:58 +02:00
Igor Savin
871dadb348
More consistent handling of nested transactions ( #3393 )
2019-08-16 16:28:25 +02:00
Matthew Kuo
054ce36b0a
Add .isCompleted() to transaction ( #3368 )
2019-07-23 17:59:55 +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
wubzz
4cba0d963c
Query Event is now proxied to the main client like in previous versions of knex. Fixes #855
2015-09-19 14:45:01 +02:00
Tim Griesser
470428032d
Fix #832 , errors thrown in trx container trigger rejection
2015-05-20 11:19:12 -04:00
Tim Griesser
e3ef628156
Beginning to use =>
2015-05-09 14:07:58 -04:00
Tim Griesser
521a6f9e97
Remove use strict, assumed in ES6
2015-05-09 14:01:19 -04:00
Tim Griesser
7e884cb325
Babel src -> lib, remove gulp
2015-05-09 13:58:18 -04:00
Tim Griesser
12e6ada1a3
Fix for #805 , warn for non-existent savepoints
...
In MySQL if a savepoint is missing, it means something
else (most likely DDL) triggered an implicit commit. In this
case rather than erroring, let's give a warning message
so it's possible to use the same codepath as a DB where
this actually works.
2015-05-01 11:26:29 -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
f0ea3a269d
Add test for #785
2015-04-28 15:05:17 -04:00
Tim Griesser
7b17cc404a
Oracle test suite up to date
2015-04-27 20:22:05 -04:00
Tim Griesser
8758d5679c
Fix #780 , allow connection strings without specifying a client
2015-04-24 14:57:35 -04:00
Tim Griesser
3e47fafbe8
Cleaning up build process, WebSQL dialect
2015-04-24 12:19:33 -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
918f6056d1
Nested transactions, needs explicit tests
2015-04-23 16:04:48 -04:00
Tim Griesser
46e318d6da
Cleaning up transactions, passing options arg to pipe
2015-04-23 14:51:33 -04:00
Tim Griesser
bfbc48aea3
Need the disposer to wait until outer promise is resolved
2015-04-22 17:24:14 -04:00
Tim Griesser
e570c167c1
JSHint and formatting
2015-04-22 15:39:29 -04:00
Tim Griesser
871b50b5aa
Cleaning up WebSQL & Oracle transaction implementations
2015-04-22 15:24: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
Ben Drucker
1c37f76020
Apply promise args from then instead of explicitly passing
...
See https://github.com/petkaantonov/bluebird/issues/482
2015-02-07 12:20:24 -05:00
Vincent Schoettke
f3874ac651
Fixed several jshint warnings. Added strict mode
2014-09-01 17:19:34 +02:00
Tim Griesser
6bc918f300
Fix #422 , transactions & Bluebird 2.3
2014-08-14 14:56:16 -04:00
Tim Griesser
9e5f73c409
fix for #298 , resolve transaction with correct value
2014-06-06 14:11:42 -04:00
Tim Griesser
5726c3250f
move operator to formatters, add nicer syntax for where in, where between, where is null
2014-05-09 14:42:29 -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
98765c38c7
adding tests for change in #265
2014-05-08 18:04:55 -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
2f6a42dd5e
event emitters everywhere, standard 'query' event
2014-04-27 19:35:36 -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
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
eeeab07c42
reworking where values are parametereized/escaped
2014-03-14 16:56:55 -04:00
Tim Griesser
4c589cc960
working on refactoring the internals
2014-02-14 12:46:13 -05:00
Tim Griesser
3c8d08a64b
Removing unnecessary UMD
...
When this eventually enabled on the client side,
we can build this into the build script.
2013-11-27 16:51:01 -05:00
Tim Griesser
667a20b66e
switching out underscore for lodash
2013-11-25 02:00:12 -05:00
Tim Griesser
b20c6c3f8e
swapping in bluebird, some promise cleanup
2013-10-27 22:34:58 -04:00
Tim Griesser
11bb681baa
lots of docs & updated comments
2013-09-17 07:15:18 -04:00
Tim Griesser
092cfc6059
more cleanup & docs
2013-09-13 16:58:38 -04:00
Tim Griesser
847f926c38
most of the functionality is now restored
2013-09-12 02:09:29 -04:00