325 Commits

Author SHA1 Message Date
Tim Griesser
83b2c2b078 Fix #434, add returning config option 2014-08-24 14:41:48 -04:00
Tim Griesser
cd4864e740 Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  oracle - fixed first and added more tests
  Fix bad argument to builder.whereNull
  don't throw away the postgres client's password
  oracle - fixed SQL for dropping multiple columns
  Do not attempt to release undefined connections from pool, #414
2014-08-24 14:26:56 -04:00
Tim Griesser
eaa122b420 Merge pull request #424 from seansullivan/master
Do not attempt to release undefined connections from pool, #414
2014-08-22 11:34:29 -04:00
Ben Drucker
f4bd7d0264 Merge pull request #432 from vschoettke/oracle-fix-first-add-tests
oracle - fixed first and added more tests
2014-08-21 19:57:40 -04:00
Vincent Schoettke
f545c86081 oracle - fixed first and added more tests 2014-08-22 01:13:15 +02:00
Ben Drucker
0e60ca120f Fix bad argument to builder.whereNull
Closes #431
2014-08-21 17:35:51 -04:00
Ben Drucker
3833824246 Merge pull request #428 from vschoettke/oracle-fix-drop-multiple-columns
oracle - fixed SQL for dropping multiple columns
2014-08-20 19:22:56 -04:00
Neil Gentleman
ab4c6dabbc don't throw away the postgres client's password
broken by tgriesser/knex#390
2014-08-20 15:52:19 -07:00
Vincent Schoettke
04ddae3fda oracle - fixed SQL for dropping multiple columns 2014-08-21 00:17:49 +02:00
Tim Griesser
75be73c45e Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  oracle - fix returning for non-integer types
  oracle - fixed create if not exists
2014-08-20 14:20:47 -04:00
Vincent Schoettke
2eaedd0afa oracle - fix returning for non-integer types 2014-08-20 09:34:32 +02:00
Vincent Schoettke
9a0e7abdaa oracle - fixed create if not exists 2014-08-16 14:20:44 +02:00
Sean Sullivan
d8eda3fad6 Do not attempt to release undefined connections from pool, #414 2014-08-15 15:40:32 -07:00
Tim Griesser
ac984b9e9b Add .joinRaw and remove deprecated join notices 2014-08-14 18:02:50 -04:00
Tim Griesser
c07970ee7e Extract raw query formatting from constructor 2014-08-14 18:02:13 -04:00
Tim Griesser
b8f32300d3 Remove use strict for consistency 2014-08-14 18:01:27 -04:00
Tim Griesser
f14e894748 Support natural join, #423 2014-08-14 16:00:06 -04:00
Tim Griesser
39569c7b2a Remove unused SKIP for websql 2014-08-14 15:59:35 -04:00
Tim Griesser
d925ab569a Use reduce context rather than .bind 2014-08-14 15:59:02 -04:00
Tim Griesser
a768c7881b Fix #398, #410, escape field with enum / postgres 2014-08-14 15:45:15 -04:00
Tim Griesser
0b1af71ac3 Cleanup for #383 2014-08-14 15:32:26 -04:00
Tim Griesser
980818872d Merge pull request #406 from hsz/chainable-first
chainable-first method for MySQL
2014-08-14 15:15:51 -04:00
Tim Griesser
0330c33c43 Merge pull request #379 from SohumB/feature/nested-raw
Allow nested Raw queries
2014-08-14 15:14:41 -04:00
Tim Griesser
1bdf35cafa Merge pull request #390 from bhirt-bpl/master
fix for using a pgConnectionString
2014-08-14 15:13:30 -04:00
Tim Griesser
b83a0af572 Merge pull request #419 from vschoettke/oracle-support
Add Oracle support
2014-08-14 15:12:32 -04:00
Tim Griesser
f117efa343 Merge pull request #383 from calvinmetcalf/create-if-not
Create if not
2014-08-14 15:10:48 -04:00
Tim Griesser
6bc918f300 Fix #422, transactions & Bluebird 2.3 2014-08-14 14:56:16 -04:00
Vincent Schoettke
0faf1c9067 oracle - added seeder 2014-08-13 22:02:18 +02:00
Vincent Schoettke
0ba6b49495 oracle - added support for multiple returning values 2014-08-13 21:53:42 +02:00
Vincent Schoettke
9ef99b5f92 Added oracle support 2014-08-13 21:53:42 +02:00
Antoine Gomez
19bce8ea79 Fix global variable 'data' in JoinClause.on method 2014-08-12 15:30:52 -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
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
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
97c8c820e6 Made migration CLI tasks output absolute paths 2014-07-21 19:48:31 -04:00
Noah Santorello
26e4135f7f Fixing path issues in migration and seed functionality 2014-07-21 19:27:26 -04:00
Noah Santorello
fda570eb1e Fixing seed tests and jshint 2014-07-21 18:49:20 -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
Calvin Metcalf
d7e54e0741 fix transactions 2014-07-18 12:24:09 -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