Skip to content

Commit 3f237fa

Browse files
Update user_guide_src/source/database/query_builder.rst
Co-authored-by: Michal Sniatala <[email protected]>
1 parent 4e737de commit 3f237fa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

user_guide_src/source/database/query_builder.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,10 @@ Class Reference
16181618

16191619
Compiles and executes batch ``UPDATE`` statements.
16201620

1621-
.. note:: Set ``$batchSize`` to 0 for unlimited. ``$constraints`` takes a comma delimited string of columns, and array, associative array, or RawSql.
1621+
.. note:: When more than ``$batchSize`` field/value pairs are provided,
1622+
multiple queries will be executed, each handling up to ``$batchSize``
1623+
field/value pairs. If we set ``$batchSize`` to 0, then all field/value
1624+
pairs will be executed in one query.
16221625

16231626
.. php:method:: updateFields($set, [$addToDefault = false, [$ignore = null]])
16241627

0 commit comments

Comments
 (0)