Changed param for using offset with limit to 'skip' so as to match JDB core.
(Unit test to be pushed to JDB core.)
This commit is contained in:
dgsan 2013-04-18 09:09:13 -07:00
parent 8921b54a1a
commit d7112909eb
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) { if (filter.limit) {
sql += ' ' + buildLimit(filter.limit, filter.offset || 0); sql += ' ' + buildLimit(filter.limit, filter.skip || 0);
} }
} }