Tim Griesser
53c5984a3b
Simplify transaction classes
2016-09-12 18:45:35 -04:00
Tim Griesser
30342c32ae
Simplify formatter use
2016-09-12 18:27:30 -04:00
Tim Griesser
ee217ce2a1
Fix PG string escaping behavior ( #1661 )
...
* Modify test suite to test #1602
We shouldn’t be testing the “default” client class. Replace any
usages with postgresql
* Simplify knex.raw, deprecate global Knex.raw usage
* Remove unused bluebird shim
* Remove old / unused test comments
* Don't capture Pool2 error event
* Fix pg string escaping & parameterization #1602 , #1548
2016-09-12 18:01:47 -04:00
Tim Griesser
6fa485302b
Bluebird cleanup ( #1618 )
...
* Reference Bluebird directly, Remove deprecated .exec method
* Remove outdated bench scripts
* Remove old .jshintrc file
2016-08-09 17:23:07 -04:00
Alexandre Tiertant
53d089bffb
add node-oracledb support ( #990 )
...
* add node-oracledb support
* move file in src directory
* remove unused var
* correct pool release
correct date error
* correct bugs
* add some test
* correct a test error
* correct time zone error in schema tests
* correct time zone error in schema tests
* use inheritance to remove duplicated code
* use inherit in formatter to remove dupplicated code
* remove unused code
* remove unused require
* add blob insert support
* add queryCompiler to dialect prototype
* export queryCompiler
* fix bugs
* Correct tests
* handle returning
* clean code
* clean code
* Fix returning
* Multiple insert with blob
* Add SELECT BLOB support
* Finalise update
* Fix test error
* Fix insert error without returning
* Add transaction and code cleaning
* build
* Fix pool ping error
* Add missing rejecter
* build
* Fix error in delete
* Fix transaction rollback error throwing
* Fix typo in commit
* Fix rollback rejecter
* Remove BLOB tests
* remove lib file
* fixed oracledb linter errors
* Add .completed to transaction acquireConnection()
2016-06-20 18:03:52 +03:00
Jacob Hoschar
eeae6c4e9f
Fix invalid SQL in Oracle dialect ping function
2016-06-10 17:35:35 -04:00
Rhys van der Waerden
2acd6e5daa
Make spaces in import braces consistent
...
`import {module}` -> `import { module }`
2016-05-18 20:22:50 +10:00
Rhys van der Waerden
06e3447440
Remove duplicate spaces in assignments.
...
These were previously horizontally aligned. The esnext conversion disrupted them all.
2016-05-18 19:59:24 +10:00
Rhys van der Waerden
3846b7182c
Make codebase conform to ESLint rules
...
Just a couple of changes.
2016-05-17 01:01:34 +10:00
Mikael Lepistö
9114bdd8b3
Changed implementation of replacing undefined with DEFAULT already in query compiler for every dialect.
2016-05-12 10:24:42 +03:00
wubzz
fa125712da
A default ping
fn in default pool settings, and silently ignore errors when querying 'ROLLBACK' on a dead connection by using Promise.Timeout.
2016-04-02 16:35:27 +02:00
wubzz
f286da2796
Preserve original bindings at all times. Move prepBindings calls to toSQL() instead. Enforce 'bindings' to always be present in .toSQL() resultset.
2016-03-15 21:47:59 +01:00
wubzz
f37824a11e
Fix indentation?
2016-03-15 18:12:36 +01:00
wubzz
1d27fb8550
Update lodash from 3.7.0 -> 4.6.0
2016-03-15 18:11:13 +01:00
Brian Black
25ffe0d84c
dialects default to inherited SqlString
2015-11-29 18:54:05 -05:00
Brian Black
c6230568cd
SqlString is now per-dialect
2015-11-29 18:44:12 -05:00
Mikael Lepistö
0c74f786a5
Optionally use DEFAULT instead of NULL when translating undefined to SQL value.
2015-11-14 19:46:34 +02:00
Helios
f4e8f60b53
fixed connection error handling for oracle dialect
2015-07-23 11:16:39 +03: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