Skip to content

Commit cf4641c

Browse files
authored
Merge pull request #6071 from eSkiSo/patch-3
Adds information that ignore() is not unique to insert
2 parents 749307e + 5b70287 commit cf4641c

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)