Updates
This commit is contained in:
@@ -200,7 +200,9 @@ function sqlGenerator({ tableName, genObject }) {
|
||||
? `${tableName}.${genObject.order.field}`
|
||||
: genObject.order.field
|
||||
} ${genObject.order.strategy}`;
|
||||
|
||||
if (genObject.limit) queryString += ` LIMIT ${genObject.limit}`;
|
||||
if (genObject.offset) queryString += ` OFFSET ${genObject.offset}`;
|
||||
|
||||
return {
|
||||
string: queryString,
|
||||
|
||||
Reference in New Issue
Block a user