Merge pull request #93 from mhuggins/pg-offset

Fix PostgreSQL query offset (issue #83)
This commit is contained in:
Anatoliy Chakkaev 2012-08-31 03:42:59 -07:00
commit 562d06b83f
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ PG.prototype.toFilter = function (model, filter) {
}
if (filter.limit) {
out += ' LIMIT ' + filter.limit + ' ' + (filter.offset || '');
out += ' LIMIT ' + filter.limit + ' OFFSET ' + (filter.offset || '');
}
return out;