Skip to content

Commit 7110fb9

Browse files
committed
Update change log
1 parent 0434b9f commit 7110fb9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

system/Database/BaseBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1950,7 +1950,7 @@ protected function formatValues(array $values): array
19501950
/**
19511951
* Compiles batch insert strings and runs the queries
19521952
*
1953-
* @param array|string|null $set a dataset or select query
1953+
* @param array|object|null $set a dataset
19541954
*
19551955
* @return false|int|string[] Number of rows inserted or FALSE on failure, SQL array when testMode
19561956
*/
@@ -2285,7 +2285,7 @@ protected function validateUpdate(): bool
22852285
/**
22862286
* Sets data and calls batchExecute to run queryies
22872287
*
2288-
* @param array|object|string|null $set a dataset or select query
2288+
* @param array|object|null $set a dataset or select query
22892289
* @param array|RawSql|string|null $constraints
22902290
*
22912291
* @return false|int|string[] Number of rows affected or FALSE on failure, SQL array when testMode

user_guide_src/source/changelogs/v4.3.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Others
4747
is a ``CITestStreamFilter::registration()`` method for this. See :ref:`upgrade-430-stream-filter` for details.
4848
- The data structure returned by ``BaseConnection::getForeignKeyData()`` has been changed.
4949
- The second parameter ``$index`` of ``BaseBuilder::updateBatch()`` has changed to ``$constraints``. It now accepts an array, string, or ``RawSql``.
50+
- The ``$set`` parameter of ``BaseBuilder::insertBatch()`` and ``BaseBuilder::updateBatch()`` now accepts an object of a single row of data.
5051

5152
.. _v430-interface-changes:
5253

0 commit comments

Comments
 (0)