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

Commit 530fa695 by Siyang

* Fix postgres deleteQuery not using schema

1 parent 7894ba10
Showing with 2 additions and 0 deletions
......@@ -293,6 +293,8 @@ module.exports = (function() {
deleteQuery: function(tableName, where, options, factory) {
options = options || {}
tableName = Utils.removeTicks(this.quoteTable(tableName), '"')
if (options.truncate === true) {
return "TRUNCATE " + QueryGenerator.quoteIdentifier(tableName)
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!