64 Commits

Author SHA1 Message Date
Mikael Lepistö
cd28114067 Made test timeout to be configurable by setting KNEX_TEST_TIMEOUT environment variable. 2016-06-14 19:02:43 +03: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
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
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
29cc223bb9 Test whether mocha 2.x is causing Travis to fail 2015-04-30 20:41:16 -04:00
Tim Griesser
3dfe1e6c94 Final cleanup for 0.8 2015-04-30 18:11:41 -04:00
Tim Griesser
7b17cc404a Oracle test suite up to date 2015-04-27 20:22:05 -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
3e47fafbe8 Cleaning up build process, WebSQL dialect 2015-04-24 12:19:33 -04:00
Tim Griesser
0c0864761c Test and fix for #749 2015-04-24 10:31:23 -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
26726c728b Fixing test config 2015-04-22 12:11:23 -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
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
Elliot Foster
e749fef801 Excercise mysql2 via the test suite 2014-12-02 16:24:34 -08:00
Vincent Schoettke
f3874ac651 Fixed several jshint warnings. Added strict mode 2014-09-01 17:19:34 +02:00
Vincent Schoettke
02eb8cbe5e More thorough test of query builder 2014-08-26 23:05:39 +02:00
Vincent Schoettke
9ef99b5f92 Added oracle support 2014-08-13 21:53:42 +02:00
Tim Griesser
e550b2d394 Adding node-mariasql as a target option 2014-06-03 23:27:37 -04:00
Tim Griesser
af1f9e83ae Fix #244, normalize for inconsistent insert rows 2014-06-03 00:47:54 -04:00
Tim Griesser
f7ad182e68 working on a lot of tooling, migration pieces 2014-05-28 22:29:34 -04:00
Tim Griesser
5bac6747a5 prepInsert is now working. 2014-04-16 11:38:03 -04:00
Tim Griesser
db2f9e7f08 merge with master 2014-04-16 02:50:19 -04:00
Tim Griesser
0de9513a78 all tests green 2014-04-16 01:23:50 -04:00
Tim Griesser
dfdc426751 Majorly refactoring every piece of the library, WIP 2014-04-08 16:25:57 -04:00
Tim Griesser
55f7f28761 making stateless querying opt-in, not default 2014-02-22 17:06:33 -05:00
Tim Griesser
4c589cc960 working on refactoring the internals 2014-02-14 12:46:13 -05:00
Tim Griesser
cc04badfc0 docs prep for release 2014-01-07 22:41:52 -05:00
Tim Griesser
3785575de2 shuffling around the client paths/config 2013-12-25 13:21:31 -05:00
Tim Griesser
3d898efca5 dropping 0.6 as a target version
Should still work though.
2013-11-28 11:43:47 -05:00
Tim Griesser
64f9deb651 fixes #100, increment/decrement values 2013-11-20 09:17:08 -05:00
Tim Griesser
b20c6c3f8e swapping in bluebird, some promise cleanup 2013-10-27 22:34:58 -04:00
Tim Griesser
44b96f2c53 adding tests for pool relating to #90 2013-10-14 07:36:12 -04:00
Tim Griesser
ed0a27468d adding when/monitor/console for unit tests 2013-10-03 14:50:04 -04:00
Tim Griesser
96a7a9e747 fix for #78, underscore not included in various grammar files 2013-09-18 11:56:46 -04:00
Tim Griesser
0e7129aa8f trying to get mocha-as-promised working on node 0.6 2013-09-13 18:41:36 -04:00
Tim Griesser
1a47485d33 integration tests are workinggit st 2013-09-12 13:30:47 -04:00
Tim Griesser
847f926c38 most of the functionality is now restored 2013-09-12 02:09:29 -04:00
Tim Griesser
dc312f322b fix on the toString for clauses, unit test cleanup 2013-09-12 01:13:07 -04:00
Tim Griesser
634f4751a1 mysql and pg are mostly working, now onto sqlite3 2013-09-11 23:36:55 -04:00
Tim Griesser
01c4a83d35 lots of library restructure / unit test work 2013-09-08 15:57:32 -04:00
Tim Griesser
faa2497ef1 wip unit tests & refactoring 2013-09-05 16:36:49 -04:00
Tim Griesser
bf5af801c9 support for enum in postgresql, fixes #21 2013-07-17 08:38:33 -04:00
Tim Griesser
13a6e7af8b renaming beforeCreate to afterCreate, better error handling, 0.1.6 2013-06-09 16:57:31 -04:00
Tim Griesser
7163e3cd7c Adding beforeCreate and afterCreate as options on the pool's config #14 2013-06-09 13:50:43 -04:00
Tim Griesser
e0cafbb927 putting some polish on the test suite, runQuery now lives on the prototype 2013-05-09 05:45:59 -04:00