Skip to content

Commit

Permalink
Merge pull request #6071 from eSkiSo/patch-3
Browse files Browse the repository at this point in the history
Adds information that ignore() is not unique to insert
  • Loading branch information
samsonasik authored Jun 4, 2022
2 parents 749307e + 5b70287 commit cf4641c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion user_guide_src/source/database/query_builder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,8 @@ $builder->ignore()

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

.. literalinclude:: query_builder/078.php

Expand Down

0 comments on commit cf4641c

Please sign in to comment.