From 5b702874625f1e5462060249dc6bccb3508a85de Mon Sep 17 00:00:00 2001 From: Eskiso Date: Fri, 3 Jun 2022 18:42:08 +0000 Subject: [PATCH] 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. --- user_guide_src/source/database/query_builder.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/user_guide_src/source/database/query_builder.rst b/user_guide_src/source/database/query_builder.rst index f03c499863b6..eca7b2bd2cf0 100755 --- a/user_guide_src/source/database/query_builder.rst +++ b/user_guide_src/source/database/query_builder.rst @@ -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