Merge pull request #25 from dgsan/master
Fixes #21, changes word for offset to 'skip' to match JDB core.
This commit is contained in:
commit
97e1b7eef0
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue