Daniel Qin
c57d7e3de9
re-create fk with ref.CONSTRAINT_NAME instead of ref.COLUMN_NAME
2015-07-16 14:40:04 +08:00
Daniel Qin
19acfaffd6
fixed issue cannot rename column in migrations when there is FK references
2015-07-07 12:35:55 +08:00
Tim Griesser
6dbcaaaeaf
Empty queries should be no-ops on mysql
2015-06-30 19:37:07 -04:00
Tim Griesser
521a6f9e97
Remove use strict, assumed in ES6
2015-05-09 14:01:19 -04:00
Tim Griesser
7e884cb325
Babel src -> lib, remove gulp
2015-05-09 13:58:18 -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
c40b1339aa
Update process for web script build
2015-04-29 17:11:52 -04:00
Tim Griesser
ff76297506
Normalize connection config, fix #789
2015-04-29 15:14:41 -04:00
Tim Griesser
e570c167c1
JSHint and formatting
2015-04-22 15:39:29 -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
Calvin Metcalf
c00ff3d814
Allow t.binary to specify a length for MySQL
...
Closes #774
2015-04-16 15:39:02 -04: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
Kris Reeves
617c36cfc7
New tests showed a flaw in mysql code, fix it
2015-02-19 12:08:02 -05:00
Kris Reeves
12ce5d74f1
Fix reference
2015-02-19 11:53:57 -05:00
Ben Drucker
52e2403c29
Merge pull request #586 from tgriesser/limit-0
...
Properly handle limit 0
2014-12-22 21:44:24 +01:00
Tim Griesser
3e3cfcbaa4
Fix #597 , show tables like
2014-12-18 23:41:04 -05:00
Ben Drucker
27810950ed
Properly handle limit 0
2014-11-30 19:47:50 -05:00
Tim Griesser
776acf3f30
Fix #516 , connection parameters not properly preserved
2014-10-03 11:03:34 -04:00
Tim Griesser
239f906450
Proper fix for #510 and related
2014-10-01 18:28:30 -04:00
Tim Griesser
b73a85f628
Better error handling for disconnects & pool, fix #452
2014-10-01 17:24:25 -04:00
Vincent Schoettke
4c43d69313
Enabled eqeqeq jshint restriction and fixed warnings
2014-09-03 11:04:10 +02:00
Vincent Schoettke
f67d04035c
Enabled latedef jshint restriction and fixed warnings
2014-09-03 10:48:25 +02:00
Vincent Schoettke
ef173db790
Changed jshint option unused to true and fixed warnings
2014-09-02 22:56:51 +02:00
Vincent Schoettke
a373905171
Removed jshint eqnull and fixed warnings
2014-09-02 22:19:22 +02:00
Vincent Schoettke
f3874ac651
Fixed several jshint warnings. Added strict mode
2014-09-01 17:19:34 +02:00
Vincent Schoettke
473827b8c1
Added missing require statement
2014-09-01 16:56:30 +02:00
Vincent Schoettke
00a41a0bb2
Fixed offset without limit for mysql and sqlite3
2014-08-28 13:53:39 +02:00
Tim Griesser
0b1af71ac3
Cleanup for #383
2014-08-14 15:32:26 -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
f117efa343
Merge pull request #383 from calvinmetcalf/create-if-not
...
Create if not
2014-08-14 15:10:48 -04:00
hsz
1077d11bc3
chainable-first method for MySQL
2014-07-30 10:54:29 +02:00
Noah Santorello
79faa5177c
Finished seeder integration for various dialects
2014-07-21 18:06:58 -04: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
Calvin Metcalf
957cad6a43
create if not exists
2014-07-17 11:27:02 -04:00
Tim Griesser
fa42db09de
Increment/decrement returns affectedRows, with tests - #330
2014-06-18 12:39:58 -04:00
Tim Griesser
1e936ffd3c
Fix #308 onDelete / onUpdate in PostgreSQL, with tests
2014-06-12 14:00:44 -04:00
Tim Griesser
04cab6df44
release 0.6.10
2014-06-10 11:52:42 -04:00
Tim Griesser
c804822c6d
release 0.6.9
2014-06-09 21:28:49 -04:00
Tim Griesser
e73217e4c5
release 0.6.2
2014-06-04 16:24:29 -04:00
Tim Griesser
6b85f1d66f
Merge with master, ensure #278 is fixed in 0.6
2014-06-04 11:29:21 -04:00
Tim Griesser
e550b2d394
Adding node-mariasql as a target option
2014-06-03 23:27:37 -04:00
Tim Griesser
08fd7483c8
Even more documentation, added .pipe to the interface
2014-06-03 14:21:31 -04:00
Tim Griesser
d7738e772a
Fixing comment & foreign key tests, full suite passing
2014-05-29 17:31:09 -04:00
Tim Griesser
e3cfc7440c
get rid of mysql/pg string dependencies, #283
2014-05-28 01:11:20 -04:00
Tim Griesser
5726c3250f
move operator to formatters, add nicer syntax for where in, where between, where is null
2014-05-09 14:42:29 -04:00
Tim Griesser
a133b53899
Transaction object are now fully functional, scoped knex objects, #265
2014-05-08 17:58:07 -04:00
Tim Griesser
4fce26563c
adding a filter for 'utf8' for node-mysql 2.2
2014-05-06 15:23:51 -04:00
Tim Griesser
19b2b20e8b
We're streaming
2014-05-05 21:54:08 -04:00