2646 Commits

Author SHA1 Message Date
Calvin Metcalf
667fef8c18 work in browserify 2015-04-24 15:34:55 -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
ebcc22176f Make websql transaction api similar to others, jshint cleanup 2015-04-24 12:44:01 -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
a911c06ef3 Bumping pool2 2015-04-24 09:34:19 -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
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