Simon Lidén
65509c38ef
Allow overwriting log functions ( #2625 )
...
* Example build of custom log functions
* Handle logger object better for transactions
* Adjust test to ignore sqlite warning message
2018-05-29 11:42:03 -04:00
Simon Lidén
07485dba57
Fix "maxLength is not defined" error in sqlite3 query compiler
2018-02-21 10:37:33 +01:00
wubzz
f1faaf9180
Add warning when using .returning() in sqlite3. Fixes #1660 ( #2471 )
2018-02-15 13:28:25 +01:00
Sami Koskimäki
45f5ffbad0
Use wrapIdentifier in columnInfo. fixes #2402 ( #2405 )
...
* Make postgres client wrapIdentifierImpl independent of `this` context
* Also fixes a bug where only single digit indices were accepted.
* add customWrapIdentifier helper for client
* customWrapIdentifier is one more level of abstraction for the wrapIdentifier "pipeline"
that allows the custom wrapIdentifier to be called without calling the `wrapIdentifierImpl`
* bufix: use custom wrapIdentifier in columnInfo. fixes #2402
2018-01-03 00:05:48 +02:00
Jürg Lehni
b5ba51a01e
Fix truncate() on sqlite3 dialect ( #2348 )
...
Relates to #2312 : ids were not correctly reset anymore
2017-11-24 09:00:20 +02:00
Juuso Tapaninen
fddfd3b3d8
Escape table name in SQLite columnInfo call ( #2281 )
...
Fixes #2184 . Not escaping the table name could lead to issues
with some table names. Table name group, for example, would
result in an error.
2017-10-23 09:13:09 +03:00
Alexandre Tiertant
69235aed73
add With Clause ( #1599 )
...
* Add "with" clause
* Add arguments check to with() and modify some tests
* fix test
2016-09-13 13:14:04 +03: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
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
Jurko Gospodnetić
16a076c1a0
trim trailing spaces
...
Only left alone ones in `test/tape/transactions.js` which would just
cause unnecessary conflicts and get cleaned up by separate pull
request #1257 anyway.
2016-03-08 08:44:01 +01: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