31 Commits

Author SHA1 Message Date
wubzz
6621e3b0ce Fix promisify in knexfile.js 2016-03-15 21:14:17 +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
Sky Morey
fbbda0731b removed test sqlserver from test/knexfile.js 2015-12-14 16:21:27 -06:00
Sky Morey
f99d3952a1 changed mssql to compact create format. changed unique index to unique constraint 2015-12-14 16:20:45 -06:00
Sky Morey
aa8df07711 merge 2015-12-14 11:10:46 -06:00
Sky Morey
10b415ed7d turned off mssql from build test 2015-12-14 11:01:54 -06:00
Sky Morey
371815d7e6 made SCHEMA upper case for mssql 2015-12-14 09:56:53 -06:00
Sky Morey
afd6b66624 Final build of mssql provider, all tests pass 2015-12-09 17:53:53 -06:00
Sky Morey
7c1120e0e2 in progress 2015-12-08 11:37:31 -06: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
aa026613b1 Fix MariaDB Travis config 2015-04-30 21:19:52 -04:00
Tim Griesser
ff76297506 Normalize connection config, fix #789 2015-04-29 15:14:41 -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
c8232d11d3 Merge with master, cleanup on mysql2/maria 2015-04-22 16:19:59 -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
27cd9f12c5 Cleanup pool implementation, preparing things for new release 2015-04-17 15:00:08 -04:00
Ben Drucker
7cdda834ef Remove FoundationDB
Reverts c199761c597c93136a6d38bc4ecf26a693560322 and #641

Foundation was acquired and shut down immediately
2015-03-24 17:48:14 -07:00
Nathan Williams
2d6d2f28f7 Adapter for FoundationDB SQL Layer 2015-02-04 14:56:41 -05:00
Vincent Schoettke
f3874ac651 Fixed several jshint warnings. Added strict mode 2014-09-01 17:19:34 +02:00
Vincent Schoettke
36282de16b Fixed integration now close connections 2014-08-28 20:50:44 +02:00
Vincent Schoettke
9ef99b5f92 Added oracle support 2014-08-13 21:53:42 +02:00
Noah Santorello
e50378f1b7 Removed absolute migration/seed paths in test knexfile 2014-07-21 19:56:42 -04:00
Noah Santorello
690326ea33 Adding integration tests for seeds 2014-07-21 18:38:40 -04:00
Tim Griesser
ebcd13879b Allow for dialect as the options param rather than client 2014-07-09 10:36:40 -04:00
Tim Griesser
f702920a3b Test using a file and multiple connections 2014-06-13 13:14:35 -04:00
Tim Griesser
6af64d32a1 Adding support for mysql2, https://github.com/sidorares/node-mysql2 2014-06-09 16:27:03 -04:00
Tim Griesser
e550b2d394 Adding node-mariasql as a target option 2014-06-03 23:27:37 -04:00
Tim Griesser
08fd7483c8 Even more documentation, added .pipe to the interface 2014-06-03 14:21:31 -04:00
Tim Griesser
abc4b36231 Set the database charset as utf8 2014-06-03 09:56:37 -04:00
Tim Griesser
f7ad182e68 working on a lot of tooling, migration pieces 2014-05-28 22:29:34 -04:00