2646 Commits

Author SHA1 Message Date
Calvin Metcalf
030bdf1e5a transactions 2014-07-17 08:34:53 -04:00
Sohum Banerjea
4904a7f320 Only nest raws when the sql is a string 2014-07-17 18:51:36 +10:00
Sohum Banerjea
a638a54f78 Allow nested Raw queries
* Do the recursive step on constructor
* Splice in parameter strings based on ? indexes
* Concat bindings
2014-07-17 17:26:40 +10:00
Tim Griesser
570a551f41 Trim whitespace when escaping 2014-07-14 15:19:03 -04:00
Tim Griesser
7340807670 Named Pool function for consistency 2014-07-14 13:57:48 -04:00
Tim Griesser
93cae8f3bc Lodash and promise no longer required in entry file 2014-07-14 13:54:43 -04:00
Tim Griesser
86c0863147 remove knex.utils, move pgBindings to client.positionBindings 2014-07-14 13:51:43 -04:00
Tim Griesser
ae2b5a3b24 Move destroy method to client, proxy from knex.destroy 2014-07-14 13:48:17 -04:00
Tim Griesser
590d767839 Utilize es5 getters for cleaner schema/migrate 2014-07-14 13:47:19 -04:00
Whitney Young
0c1292c66b Link to timestamps in documentation. 2014-07-14 09:44:51 -07:00
Tim Griesser
e07af5ea92 Merge pull request #371 from kchung/fix-documentation
Fix broken references in documentation
2014-07-13 14:34:36 -04:00
Tim Griesser
f689830acc Merge pull request #370 from elliotf/fix-crashing-mariasql-bug
Avoid crashing an app
2014-07-13 14:29:09 -04:00
efoster
7ad17ea816 Avoid crashing an app 2014-07-13 11:26:00 -07:00
Kevin Chung
86e71b2e64 Remove missing reference to bin/readme.md 2014-07-13 11:24:00 -07:00
Kevin Chung
3bcc50deeb Fix toSQL doc href 2014-07-13 11:21:32 -07:00
Tim Griesser
9c68e63f9b Merge pull request #309 from coolaj86/patch-1
how to create timestamps defaulting to now
2014-07-12 09:07:44 -04:00
Tim Griesser
19eee6970c Support more config options in websql 2014-07-11 11:52:40 -04:00
Tim Griesser
84ac4d10c7 Merge pull request #366 from calvinmetcalf/fix-runner
typo in websql runner
2014-07-11 11:51:04 -04:00
Calvin Metcalf
aa13aa56f0 typo in websql runner 2014-07-11 08:13:36 -04:00
Tim Griesser
113f09ecb6 More changes for #364 2014-07-10 22:41:24 -04:00
Tim Griesser
cdd70fe4d3 Merge pull request #364 from calvinmetcalf/browserfiable
Browserfiable
2014-07-10 22:39:03 -04:00
Calvin Metcalf
0d2ac4c174 more 2014-07-10 15:29:07 -04:00
Calvin Metcalf
c94b044247 exclude non browser libs 2014-07-10 15:21:30 -04:00
Tim Griesser
222ac82a5a release 0.6.22 0.6.22 2014-07-10 12:34:44 -04:00
Tim Griesser
521f22aec2 Fix #363, prepare postgresql parameters for streaming 2014-07-10 12:31:18 -04:00
Tim Griesser
14cf5b65c0 release 0.6.21 0.6.21 2014-07-09 10:40:01 -04:00
Tim Griesser
ebcd13879b Allow for dialect as the options param rather than client 2014-07-09 10:36:40 -04:00
Tim Griesser
8d54993fe3 Test for #350, update with limit mysql 2014-07-08 07:06:39 -04:00
Tim Griesser
e9e9b78b79 Merge pull request #349 from calvinmetcalf/chained
chained where and join
2014-07-08 06:45:25 -04:00
Tim Griesser
5627772224 Merge pull request #359 from ahdinosaur/patch-1
properly forward stream errors in sqlite3 runner
2014-07-08 06:33:58 -04:00
Tim Griesser
0385eb57a4 Fix #351, ensure Raw queries are transaction aware 2014-07-08 06:33:36 -04:00
Michael Williams
d6554b1817 properly forward stream errors 2014-07-07 22:44:28 -07:00
Calvin Metcalf
ef981aa566 chained not, or, and and 2014-07-03 14:19:36 -04:00
Tim Griesser
ecf528af3a Fix checkModule -> checkLocalModule 2014-07-02 10:19:45 -04:00
Tim Griesser
fe2d198165 Merge pull request #348 from voxpelli/patch-1
Warn if local knex module is missing
2014-07-02 07:20:12 -04:00
Pelle Wessman
7b91eb0847 Warn if local knex module is missing
If one tries to do a "knex init" prior to having added the knex module locally to ones project, then one previously didn't get a warning – just a confusing error about a file not being found. Now an error is shown instead.
2014-07-01 19:59:26 +02:00
Tim Griesser
d86beeef31 release 0.6.20 0.6.20 2014-06-30 12:45:32 -04:00
Tim Griesser
920d1ef16e Fix #344, case insensitive operators 2014-06-30 12:42:33 -04:00
Tim Griesser
1a438e3d41 release 0.6.19 0.6.19 2014-06-27 11:59:54 -04:00
Tim Griesser
295f57d296 Fix #282, add raw support in groupBy / orderBy
Adds groupByRaw, orderByRaw as convenience methods
for groupBy(raw) / orderBy(raw)
2014-06-27 11:58:06 -04:00
Tim Griesser
4edf47dfb4 support password, ssl, stream options in node-mysql2 - #341 2014-06-27 11:58:06 -04:00
Tim Griesser
eb4d6ae9c5 Merge pull request #342 from NathanRSmith/patch-1
Help text error for migrate:latest
2014-06-27 00:47:39 -04:00
Nathan Smith
b13fd4008a Help text error for migrate:latest
Changed the help text for migrate:latest as described in the documentation.
2014-06-27 00:33:50 -04:00
Tim Griesser
48f9135029 release 0.6.18 0.6.18 2014-06-25 05:18:32 -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
b24b68023f release 0.6.17 0.6.17 2014-06-23 19:02:01 -04:00
Tim Griesser
4e79c27a07 Adding missing promise map / reduce proxies 2014-06-23 19:00:21 -04:00
Tim Griesser
87e4cc9435 Comments and a few minor changes to start event 2014-06-22 15:11:01 -04:00
Tim Griesser
712786bf95 Merge pull request #335 from wbyoung/debug-flag
Allow debug flag to be a function.
2014-06-22 14:50:52 -04:00
Whitney Young
c957e7b184 Emit start & end events for queries being run. 2014-06-22 11:13:28 -07:00