Vincent Schoettke
d6e414721f
sqlite3 - fixed raw order bys
2014-08-28 11:52:05 +02:00
Ben Drucker
5e8689c8fd
Merge pull request #444 from vschoettke/oracle-fix-unsupported-params
...
Fixed non-supported options in update, insert etc. for Oracle dialect
2014-08-28 05:47:45 -04:00
Tim Griesser
fc8d193e87
Merge pull request #437 from myndzi/fix-default-null
...
Compile result of .defaultsTo(null) to "default null", not "default 'null'"
2014-08-27 20:23:51 -04:00
Vincent Schoettke
d0b8c717e4
oracle - fixed non-supported options
2014-08-27 10:10:20 +02:00
Vincent Schoettke
02eb8cbe5e
More thorough test of query builder
2014-08-26 23:05:39 +02:00
Kris Reeves
55833140a0
Test the fix
2014-08-26 13:09:51 -04:00
Tim Griesser
289c661152
Fix #427 , raw / subqueries on insert
2014-08-24 14:50:29 -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
Vincent Schoettke
f545c86081
oracle - fixed first and added more tests
2014-08-22 01:13:15 +02: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
Tim Griesser
ac984b9e9b
Add .joinRaw and remove deprecated join notices
2014-08-14 18:02:50 -04:00
Tim Griesser
a768c7881b
Fix #398 , #410 , escape field with enum / postgres
2014-08-14 15:45:15 -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
Vincent Schoettke
0ba6b49495
oracle - added support for multiple returning values
2014-08-13 21:53:42 +02:00
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