Ben Drucker
7cdda834ef
Remove FoundationDB
...
Reverts c199761c597c93136a6d38bc4ecf26a693560322 and #641
Foundation was acquired and shut down immediately
2015-03-24 17:48:14 -07:00
Hanam Do
c57facd3a7
Use 2 space indentation for seed stubs
...
Consistent with indentation for migrations
Closes #745
2015-03-22 11:57:14 -07:00
Ben Drucker
e114cd0bd8
Fix transaction anchor link, round 2
...
Ref #740
2015-03-17 15:40:54 -04:00
Ben Drucker
cf88072209
Fix broken transaction anchor link in preamble
...
Closes #740
[ci skip]
2015-03-16 21:40:51 -04:00
Vincent Schoettke
5cd47fab98
Fixed returning bug with oracle
...
Fixes non working returning() with oracle introduced with #580 (strong-oracle support)
2015-03-16 10:04:49 +01:00
Tim Griesser
e9782a8932
Merge branch 'master' of github.com:tgriesser/knex
...
* 'master' of github.com:tgriesser/knex:
Allow debugging to be disabled for a query
fix float for oracle dialect. fixes #735
2015-03-13 01:33:36 -04:00
Tim Griesser
13995d6936
Fix #737 , proper escaping for identifiers
2015-03-13 01:17:32 -04:00
Kagami Hiiragi
c26466dea8
Allow debugging to be disabled for a query
...
Closes #725 , Closes #728
2015-03-12 17:26:57 -04:00
Vincent Schoettke
fcd454fd03
Merge pull request #736 from vschoettke/oracle-float-fix
...
fix float for oracle dialect
2015-03-12 21:35:18 +01:00
Vincent Schoettke
505b019eaf
fix float for oracle dialect. fixes #735
2015-03-12 20:34:50 +01:00
Tim Griesser
d6a66c150c
Prep of 0.7.5
2015-03-09 23:41:42 -04:00
Ozum Eldogan
9a27fd2da0
Documentation for whereNot, orWhereNot
...
Documentation is added for whereNot, orWhereNot
2015-02-26 18:28:10 +02:00
Ozum Eldogan
e7e4f8d840
Fix: whereNot and orWhereNot for _objectWhere
...
_objectWhere is not generating correct sql when used with whereNot
and/or orWhereNot
2015-02-26 17:07:26 +02:00
Ozum Eldogan
ff9ede59e9
whereNot, orWhereNot
...
whereNot, orWhereNot methods added to single and wrapped wheres.
2015-02-26 16:31:30 +02:00
Tim Griesser
1411f2310a
Prep for patch 0.7.4
2015-02-25 15:36:38 -05:00
Tim Griesser
f5371cade9
Update changelog with info on 0.7 tagged release
2015-02-25 15:33:57 -05:00
Ben Drucker
9805d2863a
Fix knex ascii art
2015-02-24 14:00:04 -05:00
Tim Griesser
a717c3e86b
Merge pull request #706 from whitelynx/master
...
Fix for out-of-order parameters when using a subquery in 'from'
2015-02-24 13:35:21 -05:00
David H. Bronke
973b2fc769
Don't pass tableName through the formatter until it's needed.
...
Fixes #704 .
2015-02-24 10:15:20 -06:00
David H. Bronke
ea5c15f2aa
Added unit test for #704 .
2015-02-24 10:04:02 -06:00
Ben Drucker
d1505004b6
trx.rollback should always be passed to .catch not .then
...
Closes #705
2015-02-24 07:49:53 -05:00
Ben Drucker
4821fac983
Update lodash to 3.0 and change ~ to ^
2015-02-23 09:55:52 -05:00
Kris Reeves
84aef3bd4c
Handle postgres connection "error" and "end" events
...
Closes #659
2015-02-23 09:35:57 -05:00
Ben Drucker
d771610460
Merge pull request #474 from myndzi/fix-sqlite3-rename-column
...
Fix sqlite3 rename column
2015-02-20 10:22:11 -05:00
Ben Drucker
cfeb1008d2
Merge pull request #697 from thomasdashney/master
...
Fix migration bug where database is empty
2015-02-20 07:26:52 -05:00
Thomas Dashney
e960214271
fixed migration bug where it errors out when migrations table is empty
2015-02-19 22:07:52 -05:00
Tim Griesser
3c1cfe5851
Merge pull request #693 from myndzi/pool2
...
Use Pool2 instead of Generic-pool-redux
2015-02-19 21:48:24 -05:00
Kris Reeves
dc5f32ad20
Override pool.release for oracle too. Uncertain if client.close is async, so pretending it's sync.
2015-02-19 12:13:42 -05:00
Kris Reeves
abd5701458
Make jshint aware of 'before' and 'after' globals
2015-02-19 12:08:02 -05:00
Kris Reeves
617c36cfc7
New tests showed a flaw in mysql code, fix it
2015-02-19 12:08:02 -05:00
Kris Reeves
1d1c6b9360
Supporting tests
2015-02-19 12:08:02 -05:00
Kris Reeves
851493ae04
Better column rename and delete logic
2015-02-19 12:08:01 -05:00
Kris Reeves
12ce5d74f1
Fix reference
2015-02-19 11:53:57 -05:00
Kris Reeves
dff5a1409a
Use Pool2 instead of Generic-pool-redux
2015-02-19 11:50:43 -05:00
Ben Drucker
5b6f897866
Merge pull request #692 from oliverzy/master
...
Allow --debug flag to be passed to CLI calls
2015-02-18 07:02:43 -05:00
Yujie Zhou
2577663667
[Knex CLI] Fix debug option doesn't work
2015-02-18 13:09:45 +08:00
Ben Drucker
d6dc4d2dee
Don't warn for SQLite with create if not exists
...
Closes #689
2015-02-13 15:00:32 -05:00
Ben Drucker
01f5ce4972
Merge pull request #685 from oliverzy/master
...
[Knex CLI] Support V8 Flags such as --harmony, etc
2015-02-13 06:47:27 -05:00
Yujie Zhou
99ba1cef99
[Knex CLI] Support V8 Flags such as --harmony, etc
2015-02-13 18:00:49 +08:00
Ben Drucker
c199761c59
Merge pull request #641 from gjvargas/fdbsql_adapter
...
FoundationDB SQL Layer Adapter
2015-02-10 18:28:08 -05:00
Tim Griesser
d1d11f1091
Merge pull request #660 from werkt/union_wrap_ignored
...
Respect union wrap parameter as last argument
2015-02-09 10:45:01 -05:00
Ben Drucker
1c37f76020
Apply promise args from then instead of explicitly passing
...
See https://github.com/petkaantonov/bluebird/issues/482
2015-02-07 12:20:24 -05:00
Ben Drucker
342766cb1b
Disable building on Node 0.11
...
sqlite3 has an unpublished fix:
https://github.com/mapbox/node-sqlite3/pull/369
Right now this causes npm install to fail and so the 0.11 job is
meaningless. This can be reverted when sqlite3 can be built on
node > 0.10 and iojs.
2015-02-07 12:05:18 -05:00
Nathan Williams
2d6d2f28f7
Adapter for FoundationDB SQL Layer
2015-02-04 14:56:41 -05:00
George Gensure
16b234c565
Adding multiple union tests for unwrapped/wrapped
...
Tests revealed some problems with argument and wrap interpretation,
corrected.
2015-02-03 21:11:42 -05:00
George Gensure
f6952c42b5
Respect union wrap parameter as last argument
...
union's wrap parameter was being ignored and misinterpreted when
building statements. Maintain the spirit of the original implementation
(variable number of callbacks) consistent with other instances of
variadic-like behavior (select/columns), including handling list of
callbacks in array, while still processing the wrap parameter.
2015-02-03 12:33:17 -05:00
Ben Drucker
8c8fcb5b29
Clarify ability to use .returning() with updates
...
Closes #654
[ci skip]
2015-01-30 19:38:50 -05:00
Ben Drucker
dd8f4f97ad
col.inTable should be called after col.references
...
Closes #645
[ci skip]
2015-01-26 19:56:24 -05:00
Stephan Schneider
06d3383c11
Uses knex.client.dialect instead of hacky knex.toString()
2015-01-23 15:43:14 +01:00
Ben Drucker
8c7af46439
Merge pull request #630 from djmadcat/feature/fix_sqlite_drop_last_column
...
Fix SQLite dropColumn doesn't work for last column
2015-01-18 18:34:38 -05:00