1088 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
Ben Drucker
6f4a976944 Merge pull request #420 from antoinegomez/master 2014-08-12 15:34:39 -04:00
Antoine Gomez
19bce8ea79 Fix global variable 'data' in JoinClause.on method 2014-08-12 15:30:52 -04:00
Tim Griesser
ede6e67d6f Merge pull request #373 from wbyoung/doc-link-timestamps
Link to timestamps in documentation.
2014-08-11 10:18:25 -04: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
Ben Drucker
88467f829a Merge pull request #413 from briandela/patch-1
Minor change to the CLI help text
2014-08-05 18:55:30 -04:00
Brian Delahunty
adfadff2c6 Minor change to the CLI help text
Change the help text for the --env command to say 'process.env.NODE_ENV' instead of 'process.NODE_ENV'
2014-08-05 15:43:45 -07:00
hsz
1077d11bc3 chainable-first method for MySQL 2014-07-30 10:54:29 +02:00
Tim Griesser
19e9758da5 Merge pull request #401 from jut-io/bluebird-upgrade
upgrade bluebird to v2.2.2
2014-07-28 12:35:34 -04:00
Michael Demmer
c4fc84f6a2 package.json: change bluebird dependency to >=1.2.0
Due to the fact that I'm using a newer version of npm this also sorted all the
entries.
2014-07-28 11:41:42 -04:00
Ben Drucker
2d520151c7 Merge pull request #399 from ahutchings/patch-1
Fix typo
2014-07-27 16:21:19 -04: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
Tim Griesser
891925d354 Correct git url 2014-07-25 19:31:50 -04:00
Oliver Schneider
0cffdc6c8c Removed "collate nocase" in test order by. 2014-07-25 23:16:02 +02:00
Oliver Schneider
2b0c930f2f Don't use "collate nocase" in sqlite order by, because it makes things terrible slow, because no index is used. 2014-07-25 22:31:30 +02:00
Noah Santorello
fd778785ea Updated website documentation to include seed files 2014-07-21 20:46:52 -04:00
Noah Santorello
a7b8876590 Made URLs relative so you can easily edit it locally 2014-07-21 20:27:16 -04: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
Noah Santorello
983931bcbd Merge remote-tracking branch 'upstream/master' 2014-07-21 18:08:44 -04:00
Noah Santorello
79faa5177c Finished seeder integration for various dialects 2014-07-21 18:06:58 -04:00
Tim Griesser
7c1b8eac70 Fixing default tableName for migrations. 2014-07-21 15:13:30 -04:00
bhirt-gf
9321abd6c0 fix for using a pgConnectionString, the parsed connection string settings will be set in the connectionSettings of the knex object. Without this, some features like columnInfo() will fail when connecting to a database with a pgConnectionString 2014-07-21 12:00:12 -06:00
Noah Santorello
ef159b85a8 Path.join error 2014-07-21 09:57:48 -04:00
Noah Santorello
65cb342e09 CLI outputs relative path of files, not just filename 2014-07-21 09:51:04 -04:00
Noah Santorello
f8d01e9901 Initial commit of seed functionality 2014-07-21 09:42:56 -04:00
Sohum Banerjea
c8b003aea3 Unit test for nested raws 2014-07-19 20:02:49 +10:00
Calvin Metcalf
d7e54e0741 fix transactions 2014-07-18 12:24:09 -04:00
Tim Griesser
f91eb95610 Merge pull request #372 from voxpelli/now-helper
Added a NOW() helper
2014-07-18 08:21:34 -04: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
Sohum Banerjea
45748bb257 bugfix: index disruption 2014-07-18 10:22:36 +10:00
Calvin Metcalf
957cad6a43 create if not exists 2014-07-17 11:27:02 -04:00
Ben Drucker
be99651227 Fix half-finished documentation on debug init option (closes #382) 2014-07-17 10:14:54 -04:00
Calvin Metcalf
030bdf1e5a transactions 2014-07-17 08:34:53 -04:00
Sohum Banerjea
4904a7f320 Only nest raws when the sql is a string 2014-07-17 18:51:36 +10:00
Sohum Banerjea
a638a54f78 Allow nested Raw queries
* Do the recursive step on constructor
* Splice in parameter strings based on ? indexes
* Concat bindings
2014-07-17 17:26:40 +10:00
Tim Griesser
570a551f41 Trim whitespace when escaping 2014-07-14 15:19:03 -04:00
Tim Griesser
7340807670 Named Pool function for consistency 2014-07-14 13:57:48 -04:00
Tim Griesser
93cae8f3bc Lodash and promise no longer required in entry file 2014-07-14 13:54:43 -04:00
Tim Griesser
86c0863147 remove knex.utils, move pgBindings to client.positionBindings 2014-07-14 13:51:43 -04:00
Tim Griesser
ae2b5a3b24 Move destroy method to client, proxy from knex.destroy 2014-07-14 13:48:17 -04:00