Skip to content

Commit 5b70287

Browse files
authored
Adds information that ignore() is not unique to insert
Adds information that ignore() can be used in insertBatch, update and delete (when database supports it). Not really clear on the docs at the moment.
1 parent 749307e commit 5b70287

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

user_guide_src/source/database/query_builder.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,8 @@ $builder->ignore()
809809

810810
Generates an insert ignore string based on the data you supply, and runs the
811811
query. So if an entry with the same primary key already exists, the query won't be inserted.
812-
You can optionally pass an **boolean** to the method. Here is an example using the array of the above example:
812+
You can optionally pass an **boolean** to the method. Can also be used on **insertBatch**, **update** and **delete** (when supported).
813+
Here is an example using the array of the above example:
813814

814815
.. literalinclude:: query_builder/078.php
815816

0 commit comments

Comments
 (0)