Skip to content

Commit 0a6cf1c

Browse files
committed
Revert removal of method documentation
1 parent 8bae99e commit 0a6cf1c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

user_guide_src/source/database/query_builder.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,6 +1588,17 @@ Class Reference
15881588
``INSERT`` queries will be executed, each trying to insert
15891589
up to ``$batch_size`` rows.
15901590

1591+
.. php:method:: setInsertBatch($key[, $value = ''[, $escape = null]])
1592+
:param mixed $key: Field name or an array of field/value pairs
1593+
:param string $value: Field value, if $key is a single field
1594+
:param bool $escape: Whether to escape values
1595+
:returns: ``BaseBuilder`` instance (method chaining)
1596+
:rtype: ``BaseBuilder``
1597+
1598+
Adds field/value pairs to be inserted in a table later via ``insertBatch()``.
1599+
1600+
.. important:: This method is deprecated. It will be removed in future releases.
1601+
15911602
.. php:method:: update([$set = null[, $where = null[, $limit = null]]])
15921603
15931604
:param array $set: An associative array of field/value pairs
@@ -1650,6 +1661,17 @@ Class Reference
16501661

16511662
This allows setting an alias for the psuedo table generated with ``setData()``.
16521663

1664+
.. php:method:: setUpdateBatch($key[, $value = ''[, $escape = null]])
1665+
:param mixed $key: Field name or an array of field/value pairs
1666+
:param string $value: Field value, if $key is a single field
1667+
:param bool $escape: Whether to escape values
1668+
:returns: ``BaseBuilder`` instance (method chaining)
1669+
:rtype: ``BaseBuilder``
1670+
1671+
Adds field/value pairs to be updated in a table later via ``updateBatch()``.
1672+
1673+
.. important:: This method is deprecated. It will be removed in future releases.
1674+
16531675
.. php:method:: replace([$set = null])
16541676
16551677
:param array $set: An associative array of field/value pairs

0 commit comments

Comments
 (0)