We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5bd591 commit 2dbe643Copy full SHA for 2dbe643
1 file changed
system/Database/BaseBuilder.php
@@ -269,11 +269,13 @@ public function getBinds(): array
269
*
270
* Set ignore Flag for next insert query.
271
272
+ * @param bool $ignore
273
+ *
274
* @return BaseBuilder
275
*/
- public function ignore()
276
+ public function ignore(bool $ignore = true)
277
{
- $this->insertIgnore = true;
278
+ $this->insertIgnore = $ignore;
279
280
return $this;
281
}
0 commit comments