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

Commit a03cbdae by Trey Thomas

Remove unnecessary "limit: 1" restriction from Instance.reload()

1 parent 71ae1cde
Showing with 0 additions and 1 deletions
...@@ -729,7 +729,6 @@ Instance.prototype.save = function(options) { ...@@ -729,7 +729,6 @@ Instance.prototype.save = function(options) {
Instance.prototype.reload = function(options) { Instance.prototype.reload = function(options) {
options = _.defaults({}, options, { options = _.defaults({}, options, {
where: this.where(), where: this.where(),
limit: 1,
include: this.$options.include || null include: this.$options.include || null
}); });
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!