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

Commit 7ccfd801 by Mick Hansen

temporary pg .changed() fix: turn off returning for updates

1 parent d5cc32a2
Showing with 1 additions and 1 deletions
...@@ -475,7 +475,7 @@ module.exports = (function() { ...@@ -475,7 +475,7 @@ module.exports = (function() {
if (options.returning === undefined) { if (options.returning === undefined) {
if (options.association) { if (options.association) {
options.returning = false; options.returning = false;
} else { } else if (this.isNewRecord) {
options.returning = true; options.returning = true;
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!