Skip to content

Commit 7a0d911

Browse files
committed
docs: fix param types
1 parent ec72812 commit 7a0d911

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

user_guide_src/source/database/query_builder.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,8 +1612,8 @@ Class Reference
16121612

16131613
.. php:method:: updateBatch([$set = null[, $constraints = null[, $batchSize = 100]]])
16141614
1615-
:param array $set: Field name, or an associative array of field/value pairs
1616-
:param mixed $constraints: The field or fields used as keys to update on.
1615+
:param array|object|null $set: Field name, or an associative array of field/value pairs
1616+
:param array|RawSql|string|null $constraints: The field or fields used as keys to update on.
16171617
:param int $batchSize: Count of conditions to group in a single query
16181618
:returns: Number of rows updated or ``false`` on failure
16191619
:rtype: int|false

0 commit comments

Comments
 (0)