1088 Commits

Author SHA1 Message Date
Tim Griesser
918f6056d1 Nested transactions, needs explicit tests 2015-04-23 16:04:48 -04:00
Tim Griesser
46e318d6da Cleaning up transactions, passing options arg to pipe 2015-04-23 14:51:33 -04:00
Tim Griesser
ca34c29945 Pass options to pipe 2015-04-23 12:09:15 -04:00
Tim Griesser
bfbc48aea3 Need the disposer to wait until outer promise is resolved 2015-04-22 17:24:14 -04:00
Tim Griesser
c8232d11d3 Merge with master, cleanup on mysql2/maria 2015-04-22 16:19:59 -04:00
Tim Griesser
f662bca81d Merge pull request #588 from shutterstock/fix/mysql2-can-use-other-port
Allow mysql2 to use a non-default port
2015-04-22 15:53:18 -04:00
Tim Griesser
34b6bd4076 Merge pull request #788 from zcei/feature/migrations-transaction
Wraps migrations in transations
2015-04-22 15:52:52 -04:00
Tim Griesser
e570c167c1 JSHint and formatting 2015-04-22 15:39:29 -04:00
Tim Griesser
871b50b5aa Cleaning up WebSQL & Oracle transaction implementations 2015-04-22 15:24:29 -04:00
Tim Griesser
7dfad30ff0 browserify -> webpack 2015-04-22 14:53:31 -04:00
Tim Griesser
0a2367fb07 Target pool2 sha commit until new release 2015-04-22 12:44:37 -04:00
Tim Griesser
26726c728b Fixing test config 2015-04-22 12:11:23 -04:00
Tim Griesser
865fa6a1fe Putting the old dir structure back 2015-04-22 11:52:34 -04:00
Tim Griesser
cd3e34c2f0 Merge pull request #779 from santialbo/raw-columns
Allow raw columns in where clauses
2015-04-22 11:48:18 -04:00
Tim Griesser
b2a358ec84 Cleanup in schema building 2015-04-22 11:45:28 -04:00
Tim Griesser
2bc85cb7a5 Pool should be 1 for sqlite3 unless WAL is enabled 2015-04-22 11:45:12 -04:00
Tim Griesser
f4a6b4afa4 Fix undefined warn 2015-04-22 11:44:52 -04:00
Tim Griesser
e1708f51b5 Bumping depdendencies 2015-04-22 11:44:10 -04:00
Tim Griesser
f9aab9dc76 Major internal refactor
Beefed up transaction implementation, still needs tests
and cleanup of nested transaction queues.

Left todo:
- Fix commented out tests
- Fix oracle driver's transactions
2015-04-22 10:34:14 -04:00
Tim Griesser
eee4e9c005 Fixing the overall class dependency approach, lots of internal cleanup, WIP 2015-04-19 16:31:52 -04:00
Tim Griesser
27cd9f12c5 Cleanup pool implementation, preparing things for new release 2015-04-17 15:00:08 -04:00
Santi Albo
daecf96c9e Allow raw columns in where clauses 2015-04-17 17:41:52 +01:00
Tim Griesser
c14efb7b01 Add fromJS method, alternate solution for #761 2015-04-17 10:35:01 -04:00
Tim Griesser
6dae28833d asi 2015-04-16 22:44:50 -04:00
Calvin Metcalf
4c7417af08 return when Client.prototype.destroy resolves
Closes #775
2015-04-16 15:40:27 -04:00
Calvin Metcalf
c00ff3d814 Allow t.binary to specify a length for MySQL
Closes #774
2015-04-16 15:39:02 -04:00
Scott Hulbert
ea00424efe Remove extra parentheses from transaction examples
Closes #766
2015-04-10 17:57:24 -04:00
Tim Griesser
4a6b35765c Merge pull request #759 from cpapazian/master
Don't use camelCase in aliased column names
2015-04-01 18:42:21 -04:00
Chris Papazian
6bad04aa2b Don't use camelCase in aliased column names
Change the query that gets the max batch to be all lowercase to support databases that don't allow cased names.
2015-04-01 14:58:52 -07:00
Tim Griesser
5160508924 Merge pull request #715 from ozum/master
whereNot and orWhereNot added
2015-03-30 09:26:50 -04:00
Andrew Bradley
e036d8b86a Remove trailing ';' from SQL join example
Allows correct SQL to be rendered

Closes #751
2015-03-26 14:34:41 -04:00
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