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

Commit ed019840 by hackwaly

fix the bug findAndCountAll not working on postgresql.

copy `where` array, avoid changed by internal.
1 parent 6815eb51
Showing with 1 additions and 1 deletions
......@@ -547,7 +547,7 @@ module.exports = (function() {
result = smth
}
else if (Array.isArray(smth)) {
result = Utils.format(smth, "postgres")
result = Utils.format(smth.slice(0), "postgres")
}
return result
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!