301 Commits

Author SHA1 Message Date
Vincent Schoettke
d85a13a6f6 Reverted mysql overlapping join test 2014-08-13 21:53:42 +02:00
Vincent Schoettke
9ef99b5f92 Added oracle support 2014-08-13 21:53:42 +02:00
Tim Griesser
8cfd8df117 Merge pull request #396 from sweetpi/master
Don't use "collate nocase" in sqlite order by, because it makes things t...
2014-08-11 10:18:07 -04:00
Tim Griesser
5b876d6732 Merge pull request #391 from nsantorello/master
Database seed file support
2014-08-11 10:17:40 -04:00
hsz
1077d11bc3 chainable-first method for MySQL 2014-07-30 10:54:29 +02:00
Andrew Hutchings
cecba8bfe1 Fix typo 2014-07-27 14:45:33 -04:00
Oliver Schneider
542d91bae2 Fix for test adaption 2014-07-26 09:06:48 +02:00
Oliver Schneider
0cffdc6c8c Removed "collate nocase" in test order by. 2014-07-25 23:16:02 +02:00
Noah Santorello
e50378f1b7 Removed absolute migration/seed paths in test knexfile 2014-07-21 19:56:42 -04:00
Noah Santorello
97c8c820e6 Made migration CLI tasks output absolute paths 2014-07-21 19:48:31 -04:00
Noah Santorello
4edc976880 Finally seed tests green. 2014-07-21 19:33:42 -04:00
Noah Santorello
cfdaa51427 Fixing seed tests 2014-07-21 19:30:06 -04:00
Noah Santorello
26e4135f7f Fixing path issues in migration and seed functionality 2014-07-21 19:27:26 -04:00
Noah Santorello
aad466bfbf Fixing seed tests 2014-07-21 18:50:44 -04:00
Noah Santorello
fda570eb1e Fixing seed tests and jshint 2014-07-21 18:49:20 -04:00
Noah Santorello
690326ea33 Adding integration tests for seeds 2014-07-21 18:38:40 -04:00
Sohum Banerjea
c8b003aea3 Unit test for nested raws 2014-07-19 20:02:49 +10:00
Pelle Wessman
bdc3b43655 Added a function helper collection
To make it possible for individual dialects to provide their own variant of common SQL-functions like NOW()
2014-07-18 12:41:23 +02:00
Tim Griesser
570a551f41 Trim whitespace when escaping 2014-07-14 15:19:03 -04:00
Tim Griesser
521f22aec2 Fix #363, prepare postgresql parameters for streaming 2014-07-10 12:31:18 -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
8d54993fe3 Test for #350, update with limit mysql 2014-07-08 07:06:39 -04:00
Calvin Metcalf
ef981aa566 chained not, or, and and 2014-07-03 14:19:36 -04:00
Tim Griesser
920d1ef16e Fix #344, case insensitive operators 2014-06-30 12:42:33 -04:00
Tim Griesser
295f57d296 Fix #282, add raw support in groupBy / orderBy
Adds groupByRaw, orderByRaw as convenience methods
for groupBy(raw) / orderBy(raw)
2014-06-27 11:58:06 -04:00
Tim Griesser
a1be2e9663 Fix #337, stream only syntax should not return a promise 2014-06-25 02:42:22 -04:00
Tim Griesser
fa42db09de Increment/decrement returns affectedRows, with tests - #330 2014-06-18 12:39:58 -04:00
Tim Griesser
04eabdea08 Remove check for 0.8, we're not running this on travis 2014-06-18 12:16:46 -04:00
Tim Griesser
86120dd3c3 Add istanbul module for code coverage stats 2014-06-14 16:51:06 -04:00
Tim Griesser
e9dea0435d Support alias subselect with 'as' method 2014-06-14 16:26:01 -04:00
Tim Griesser
215864ec70 .whereExists / .whereNotExists may also take knex builder 2014-06-14 09:58:38 -04:00
Tim Griesser
f702920a3b Test using a file and multiple connections 2014-06-13 13:14:35 -04:00
Tim Griesser
7332b86688 Remove extraneous console.log 2014-06-13 13:14:00 -04:00
Tim Griesser
a24dedb567 Remove weird git whitespace 2014-06-12 14:07:33 -04:00
Tim Griesser
1e936ffd3c Fix #308 onDelete / onUpdate in PostgreSQL, with tests 2014-06-12 14:00:44 -04:00
Tim Griesser
7722011721 Tests for #314 2014-06-12 14:00:44 -04:00
Tim Griesser
246e767815 Fix for boolean default types in PostgreSQL 2014-06-10 16:40:59 -04:00
Tim Griesser
9d5fed20d1 Fix for multiple orderBy statements in sqlite3 2014-06-10 13:26:20 -04:00
Tim Griesser
04cab6df44 release 0.6.10 2014-06-10 11:52:42 -04:00
Tim Griesser
c804822c6d release 0.6.9 2014-06-09 21:28:49 -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
ad3f9f6f5e SQlite3 DDL fixes, more for #46
Don't throw when trying to add foreign key
Allow dropping a column in sqlite3
2014-06-09 15:28:22 -04:00
Tim Griesser
e06d689468 release 0.6.3 2014-06-06 17:41:31 -04:00
Tim Griesser
c3f21e47cd Fix #298 and tests 2014-06-06 17:27:59 -04:00
Dan Weinand
dab1191918 allow schema methods to use transactions 2014-06-05 17:01:02 -07:00
Tim Griesser
e73217e4c5 release 0.6.2 2014-06-04 16:24:29 -04:00
Tim Griesser
4da19754f8 Fix #297 - raw query should pass through response 2014-06-04 15:55:41 -04:00
Tim Griesser
6b85f1d66f Merge with master, ensure #278 is fixed in 0.6 2014-06-04 11:29:21 -04:00
Tim Griesser
ad94518380 Tweaks for streaming interface for mariadb 2014-06-04 04:37:19 -04:00
Tim Griesser
7befdf616f default to timestamptz for postgresql, #184 2014-06-04 04:10:27 -04:00