不要怂,就是干,撸起袖子干!

Commit 143c3eb6 by Mick Hansen

[fix] don't break the current implicit .literal support via order: 'string'

1 parent 89ced7c0
Showing with 1 additions and 1 deletions
......@@ -1231,7 +1231,7 @@ module.exports = (function() {
mainQueryOrder.push(this.quote(t, model));
}.bind(this));
} else {
mainQueryOrder.push(this.quote(options.order, model));
mainQueryOrder.push(this.quote(typeof options.order === "string" ? new Utils.literal(options.order) : options.order, model));
}
if (mainQueryOrder.length) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!