Merge pull request #25 from dgsan/master

Fixes #21, changes word for offset to 'skip' to match JDB core.
This commit is contained in:
dgsan 2013-04-18 09:13:08 -07:00
commit 97e1b7eef0
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ MySQL.prototype.all = function all(model, filter, callback) {
}
if (filter.limit) {
sql += ' ' + buildLimit(filter.limit, filter.offset || 0);
sql += ' ' + buildLimit(filter.limit, filter.skip || 0);
}
}