Tim Griesser
7c1b8eac70
Fixing default tableName for migrations.
2014-07-21 15:13:30 -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
ef159b85a8
Path.join error
2014-07-21 09:57:48 -04:00
Noah Santorello
65cb342e09
CLI outputs relative path of files, not just filename
2014-07-21 09:51:04 -04:00
Noah Santorello
f8d01e9901
Initial commit of seed functionality
2014-07-21 09:42:56 -04:00
Sohum Banerjea
c8b003aea3
Unit test for nested raws
2014-07-19 20:02:49 +10:00
Calvin Metcalf
d7e54e0741
fix transactions
2014-07-18 12:24:09 -04:00
Tim Griesser
f91eb95610
Merge pull request #372 from voxpelli/now-helper
...
Added a NOW() helper
2014-07-18 08:21:34 -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
Sohum Banerjea
45748bb257
bugfix: index disruption
2014-07-18 10:22:36 +10:00
Calvin Metcalf
957cad6a43
create if not exists
2014-07-17 11:27:02 -04:00
Ben Drucker
be99651227
Fix half-finished documentation on debug init option ( closes #382 )
2014-07-17 10:14:54 -04:00
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