Skip to content

Commit

Permalink
update bug Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvisZhang authored and liu21st committed Dec 14, 2018
1 parent b5ec365 commit 5c73974
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -887,6 +887,8 @@ public function update(Query $query)

$query->trigger('after_update');
}

$query->setOption('where', []);

return $result;
}
Expand Down

0 comments on commit 5c73974

Please sign in to comment.