779 Commits

Author SHA1 Message Date
Nikhil Benesch
3567f504dd Document the shiny new 'avg' aggregate function 2014-01-19 15:39:06 -05:00
Nikhil Benesch
0bf4044b74 Add 'avg' aggregate function
The 'AVG' aggregate function is specified in the SQL standard and
supported by MySQL, PostgreSQL, and SQLite. Include tests, too.
2014-01-19 15:38:59 -05:00
Ben Drucker
fc01752bc8 Merge pull request #161 from benesch/feature-vagrant
Add Vagrant environment configured to run tests
2014-01-19 06:22:08 -08:00
Nikhil Benesch
3fbaf1c2ca Add Vagrant environment configured to run tests 2014-01-19 01:07:46 -05:00
Ben Drucker
79a859e44f Merge pull request #159 from MajorBreakfast/patch-1
2013 => 2014 for dates in changelog
2014-01-17 07:37:19 -08:00
MajorBreakfast
d69b004816 We have 2014 now :) 2014-01-17 15:07:08 +01:00
Tim Griesser
6e1709371b Merge pull request #156 from smazurov/bugfix/default-config-migrate
changed init to use this.config in case one isn't passed in
2014-01-16 11:22:40 -08:00
Stepan Mazurov
78d05f2fa0 changed init to use this.config in case one isn't passed in 2014-01-16 11:59:03 -07:00
Ben Drucker
8480c0fa04 Merge pull request #151 from vvo/fix-exit-code-migrate-cli
Migrate CLI should exit with code 1 if the migration fails
2014-01-14 08:38:50 -08:00
vvo
05efb708d1 process.exit() with proper statusCode
One thing to take into account when making command lines
is to exit with the proper code so that grunt-tasks works as expected
when failing.
2014-01-14 15:47:42 +01:00
vvo
17fcaf4019 errors are logged with console.error so that stderr propagates 2014-01-14 15:46:48 +01:00
Tim Griesser
b3bfeffce7 release 0.5.4 0.5.4 2014-01-07 22:41:53 -05:00
Tim Griesser
cc04badfc0 docs prep for release 2014-01-07 22:41:52 -05:00
Tim Griesser
0cd3a93672 Merge pull request #147 from tgriesser/defaultTo-raw
Fix for #146, allowing knex.raw in defaultTo
2014-01-07 19:28:14 -08:00
Tim Griesser
fc69e3fbb9 hopefully valid raw mysql 2014-01-07 22:21:16 -05:00
Tim Griesser
b42d42e2bc fix for #146, allowing knex.raw in defaultTo 2014-01-07 22:12:33 -05:00
Tim Griesser
9ba990e452 release 0.5.3 0.5.3 2014-01-02 18:03:30 -05:00
Tim Griesser
ba5a934948 docs update for 0.5.3 2014-01-02 18:02:39 -05:00
Tim Griesser
655714a3e0 Merge pull request #145 from johanneslumpe/patch-2
For for incorrect sql (aggregates with columns)
2014-01-02 14:59:51 -08:00
Johannes Lumpe
6dd44f9dd6 Fixed wrong syntax when no columns are set 2014-01-03 00:52:18 +02:00
Tim Griesser
c43e0d76d8 Merge pull request #143 from p-baleine/topic-primarykey-docs-update
Added docs for compound primary key
2014-01-02 13:13:15 -08:00
Johannes Lumpe
7a1c151743 For for incorrect sql (aggregates with columns) 2014-01-02 19:12:12 +02:00
Tajima Junpei
0ed9f72f5d Added docs for compound primary key 2013-12-31 13:15:32 +09:00
Tim Griesser
e013a282d6 Merge pull request #142 from johanneslumpe/patch-1
Added docs for foreign key chainable methods
2013-12-28 08:23:35 -08:00
Johannes Lumpe
cc1ccc216e Added docs for foreign key chainable methods 2013-12-27 23:21:49 +02:00
Tim Griesser
5cc47ed1ee don't assume undefined is 'where null' 2013-12-25 13:31:51 -05:00
Tim Griesser
3785575de2 shuffling around the client paths/config 2013-12-25 13:21:31 -05:00
Tim Griesser
990d656ba3 clone the rows from the websql result 2013-12-24 23:42:06 -05:00
Tim Griesser
125cfb7cf5 better websql build 2013-12-24 08:06:14 -05:00
Tim Griesser
90d8566f98 basic websql support 2013-12-23 23:06:07 -05:00
Tim Griesser
ef0d96ff5a release 0.5.2 0.5.2 2013-12-18 17:27:28 -05:00
Tim Griesser
373868cfbc docs update for 0.5.2 2013-12-18 17:27:16 -05:00
Tim Griesser
5b5a6f62fd use bluebird nodeify, add catch/finally promise methods 2013-12-18 17:24:28 -05:00
Tim Griesser
7bd0f0072d docfix 2013-12-12 17:43:22 -05:00
Tim Griesser
186bb1b34a release 0.5.1 0.5.1 2013-12-12 17:39:29 -05:00
Tim Griesser
5c4f0a48e5 bumping docs & deps for 0.5.1 2013-12-12 17:37:44 -05:00
Tim Griesser
c4b221940b Merge pull request #134 from dlau/master
schemabuilder bigInteger documentation
2013-12-12 14:23:21 -08:00
Tim Griesser
e1be421f1a Merge pull request #135 from lmorchard/use-extension-for-migration-list-all
Only use files with the correct extension for migrations
2013-12-12 06:40:50 -08:00
Les Orchard
f2dd5f8305 Only use files with the correct extension for migrations 2013-12-12 08:59:35 -05:00
Daryl L
2d61617dac schemabuilder bigInteger documentation 2013-12-11 12:20:49 -08:00
Tim Griesser
7e4913bd32 Fixing changes in cli script update 2013-12-11 12:13:29 -05:00
Tim Griesser
d8c332185e #125, using local knex install for cli if possible 2013-12-11 12:05:19 -05:00
Tim Griesser
06c38bcc2d Allow for returning in update queries, #132 2013-12-10 14:55:05 -05:00
Tim Griesser
10e3d398f4 Fix #132, allow multiple returning formats in postgres 2013-12-10 13:33:49 -05:00
Tim Griesser
b575abf261 remove umd from index.js 2013-12-10 13:09:01 -05:00
Ben Drucker
e152884e5b Explicitly sort files for migrations, fixing #130 2013-12-09 12:39:23 -05:00
Ben Drucker
bcc975986f Add local install note to CLI docs 2013-12-09 09:11:28 -05:00
Tim Griesser
55ef992d1a Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  add docs
2013-12-05 16:04:17 -05:00
Tim Griesser
c6fda895c6 Merge pull request #124 from mulderp/sqlite3_init
add docs for initializing SQLite3 adapter
2013-12-05 13:03:54 -08:00
Patrick Mulder
4441eb8f6e add docs 2013-12-05 21:50:05 +01:00