Fix PostgreSQL query offset

This commit is contained in:
Matt Huggins 2012-06-10 19:10:18 -04:00
parent 2bff27fe2d
commit f3abbf13b6
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;