108 Commits

Author SHA1 Message Date
Oliver Schneider
2b0c930f2f Don't use "collate nocase" in sqlite order by, because it makes things terrible slow, because no index is used. 2014-07-25 22:31:30 +02:00
Noah Santorello
79faa5177c Finished seeder integration for various dialects 2014-07-21 18:06:58 -04:00
bhirt-gf
9321abd6c0 fix for using a pgConnectionString, the parsed connection string settings will be set in the connectionSettings of the knex object. Without this, some features like columnInfo() will fail when connecting to a database with a pgConnectionString 2014-07-21 12:00:12 -06:00
Noah Santorello
f8d01e9901 Initial commit of seed functionality 2014-07-21 09:42:56 -04:00
Calvin Metcalf
d7e54e0741 fix transactions 2014-07-18 12:24:09 -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
Calvin Metcalf
030bdf1e5a transactions 2014-07-17 08:34:53 -04:00
Tim Griesser
86c0863147 remove knex.utils, move pgBindings to client.positionBindings 2014-07-14 13:51:43 -04:00
efoster
7ad17ea816 Avoid crashing an app 2014-07-13 11:26:00 -07:00
Tim Griesser
19eee6970c Support more config options in websql 2014-07-11 11:52:40 -04:00
Calvin Metcalf
aa13aa56f0 typo in websql runner 2014-07-11 08:13:36 -04:00
Tim Griesser
521f22aec2 Fix #363, prepare postgresql parameters for streaming 2014-07-10 12:31:18 -04:00
Michael Williams
d6554b1817 properly forward stream errors 2014-07-07 22:44:28 -07:00
Tim Griesser
4edf47dfb4 support password, ssl, stream options in node-mysql2 - #341 2014-06-27 11:58:06 -04:00
Tim Griesser
a1be2e9663 Fix #337, stream only syntax should not return a promise 2014-06-25 02:42:22 -04:00
Tim Griesser
fa42db09de Increment/decrement returns affectedRows, with tests - #330 2014-06-18 12:39:58 -04:00
Tim Griesser
0d216baba5 MariaDB processResponse method consistency 2014-06-18 12:11:30 -04:00
Tim Griesser
1e936ffd3c Fix #308 onDelete / onUpdate in PostgreSQL, with tests 2014-06-12 14:00:44 -04:00
Tim Griesser
9d5fed20d1 Fix for multiple orderBy statements in sqlite3 2014-06-10 13:26:20 -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
6af64d32a1 Adding support for mysql2, https://github.com/sidorares/node-mysql2 2014-06-09 16:27:03 -04:00
Tim Griesser
ad3f9f6f5e SQlite3 DDL fixes, more for #46
Don't throw when trying to add foreign key
Allow dropping a column in sqlite3
2014-06-09 15:28:22 -04:00
Tim Griesser
9e16ebf395 release 0.6.5 2014-06-09 12:57:10 -04:00
Tim Griesser
e73217e4c5 release 0.6.2 2014-06-04 16:24:29 -04:00
Tim Griesser
4da19754f8 Fix #297 - raw query should pass through response 2014-06-04 15:55:41 -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
ad94518380 Tweaks for streaming interface for mariadb 2014-06-04 04:37:19 -04:00
Tim Griesser
7befdf616f default to timestamptz for postgresql, #184 2014-06-04 04:10:27 -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
94e896fd41 docs work, test cleanup, adding fix for #287 2014-05-29 13:40:34 -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
5b9336a284 sqlstring now pulled from node-mysql, pq queries escaped 2014-05-06 18:15:16 -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
fe617a6227 different stream implementation for the sqlite3 runner 2014-05-06 11:06:27 -04:00
Tim Griesser
d7c27fc4a5 add the generated groc back in for the 0.6 2014-05-05 22:59:11 -04:00
Tim Griesser
613898cf43 adding a websql specific build 2014-05-05 22:22:51 -04:00
Tim Griesser
58274c618d minor git spacing issues 2014-05-05 22:00:29 -04:00
Tim Griesser
f5e5eed1b5 well this is neat, websql pretty much works 2014-05-05 21:54:08 -04:00
Tim Griesser
19b2b20e8b We're streaming 2014-05-05 21:54:08 -04:00
Tim Griesser
5708a73023 add nullable and defaultValue fields to columnInfo 2014-05-04 23:54:03 -04:00
Tim Griesser
c1ee0f5708 columnInfo, adapted code from @johanneslumpe in #190 2014-04-21 23:08:59 -04:00
Tim Griesser
c6dac39cb7 minor code cleanup 2014-04-16 10:41:16 -04:00
Tim Griesser
6f4487bab6 basic websql scaffold, untested 2014-04-16 10:40:55 -04:00
Tim Griesser
7bb7bfdc0f ensure text as used as a fallback for json on pg < 9.2 2014-04-16 10:40:21 -04:00