Tim Griesser
01bae6a598
Add disableTransactions option, #834
2015-05-20 11:08:27 -04:00
Tim Griesser
f54bb0f77e
Fixing #823 , regression from #822
2015-05-14 00:43:04 -04:00
Tim Griesser
054be46068
Fix #822 , pool: {max: 0} should not init pooling
2015-05-13 15:20:01 -04:00
Tim Griesser
3482c650d4
Improvements to object value bindings
2015-05-06 10:48:05 -04:00
Tim Griesser
2ed591dc06
release 0.8.2
2015-05-01 14:55:53 -04:00
Tim Griesser
d4ddd2a91c
Fix regression in connection query string in config object
2015-05-01 14:49:18 -04:00
Tim Griesser
6d93ba2c21
#805 - mysql2 doesn't include errno, sidorares/node-mysql2#168
2015-05-01 11:53:55 -04:00
Tim Griesser
bdd0efa60b
Fix #804 , reference seed config for migrator
2015-05-01 11:37:41 -04:00
Tim Griesser
12e6ada1a3
Fix for #805 , warn for non-existent savepoints
...
In MySQL if a savepoint is missing, it means something
else (most likely DDL) triggered an implicit commit. In this
case rather than erroring, let's give a warning message
so it's possible to use the same codepath as a DB where
this actually works.
2015-05-01 11:26:29 -04:00
Tim Griesser
aa026613b1
Fix MariaDB Travis config
2015-04-30 21:19:52 -04:00
Tim Griesser
29cc223bb9
Test whether mocha 2.x is causing Travis to fail
2015-04-30 20:41:16 -04:00
Tim Griesser
3dfe1e6c94
Final cleanup for 0.8
2015-04-30 18:11:41 -04:00
Tim Griesser
3e1872731e
Fix for #605 , options preserved in standalone Raw query
2015-04-30 18:07:16 -04:00
Tim Griesser
e179634600
Switch to shell script for release, other tidying of config/directories
2015-04-29 19:13:50 -04:00
Tim Griesser
ff76297506
Normalize connection config, fix #789
2015-04-29 15:14:41 -04:00
Tim Griesser
c529358fcb
Allow object syntax for join, #743
2015-04-29 15:13:15 -04:00
Tim Griesser
471b2bae8f
Bump sqlite3 test dependency for 0.12
2015-04-28 23:32:41 -04:00
Tim Griesser
e011768124
Adding back debug
2015-04-28 19:34:11 -04:00
Tim Griesser
5047ab8d76
Cleanup transaction test noise
2015-04-28 19:11:43 -04:00
Tim Griesser
f0ea3a269d
Add test for #785
2015-04-28 15:05:17 -04:00
Tim Griesser
2e47b9d2e8
Nicer query builder interface
2015-04-28 09:14:13 -04:00
Tim Griesser
17b04db6da
Test for #647 , chained update calls aggregate updates
2015-04-28 08:41:08 -04:00
Tim Griesser
7b17cc404a
Oracle test suite up to date
2015-04-27 20:22:05 -04:00
Tim Griesser
f735dcb9c8
Raw identifiers and named parameters
...
Adds ?? for interpolating identifiers in raw
statements. Also adds raw(sql, obj) for
named :key syntax. Alternatively, 🔑
(trailing colon) may be used to specify an
identifier as a parameter.
2015-04-27 15:58:48 -04:00
Tim Griesser
f3c45a0b10
Test to ensure #625 is fixed
2015-04-24 15:20:35 -04:00
Tim Griesser
8758d5679c
Fix #780 , allow connection strings without specifying a client
2015-04-24 14:57:35 -04:00
Tim Griesser
3e47fafbe8
Cleaning up build process, WebSQL dialect
2015-04-24 12:19:33 -04:00
Tim Griesser
0c0864761c
Test and fix for #749
2015-04-24 10:31:23 -04:00
Tim Griesser
36ced91ed5
Testing transactions, beginning to use tape, adding query to error message
2015-04-24 10:10:34 -04:00
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
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
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
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
5160508924
Merge pull request #715 from ozum/master
...
whereNot and orWhereNot added
2015-03-30 09:26:50 -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
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
Vincent Schoettke
505b019eaf
fix float for oracle dialect. fixes #735
2015-03-12 20:34:50 +01: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
David H. Bronke
ea5c15f2aa
Added unit test for #704 .
2015-02-24 10:04:02 -06:00