@@ -1799,6 +1799,9 @@ Class Reference
17991799
18001800 .. php :method :: setInsertBatch($key[, $value = ''[, $escape = null]])
18011801
1802+ .. deprecated :: 4.3.0
1803+ Use :php:meth: `CodeIgniter\\ Database\\ BaseBuilder::setData() ` instead.
1804+
18021805 :param mixed $key: Field name or an array of field/value pairs
18031806 :param string $value: Field value, if $key is a single field
18041807 :param bool $escape: Whether to escape values
@@ -1866,40 +1869,43 @@ Class Reference
18661869
18671870 .. php :method :: updateFields($set, [$addToDefault = false, [$ignore = null]])
18681871
1872+ .. versionadded :: 4.3.0
1873+
18691874 :param mixed $set: Row of columns or array of rows, a row is an array or object
18701875 :param bool $addToDefault: Adds an additional column than those in dataset
18711876 :param bool $ignore: An array of columns to ignore from those in $set
18721877 :returns: ``BaseBuilder `` instance (method chaining)
18731878 :rtype: ``BaseBuilder ``
18741879
1875- .. versionadded :: 4.3.0
1876-
18771880 Used with ``updateBatch() `` and ``upsertBatch() `` methods. This defines the fields which will be updated.
18781881
18791882 .. php :method :: onConstraint($set)
18801883
1884+ .. versionadded :: 4.3.0
1885+
18811886 :param mixed $set: A set of fields or field used has keys or constraints
18821887 :returns: ``BaseBuilder `` instance (method chaining)
18831888 :rtype: ``BaseBuilder ``
18841889
1885- .. versionadded :: 4.3.0
1886-
18871890 Used with ``updateBatch() `` and ``upsertBatch() `` methods. This takes a comma delimited string of columns, and array, associative array, or RawSql.
18881891
18891892 .. php :method :: setData($set, [$escape = null, [$alias = '']])
18901893
1894+ .. versionadded :: 4.3.0
1895+
18911896 :param mixed $set: Row of columns or array of rows, a row is an array or object
18921897 :param bool $escape: Whether to escape values
18931898 :param bool $alias: A table alias for dataset
18941899 :returns: ``BaseBuilder `` instance (method chaining)
18951900 :rtype: ``BaseBuilder ``
18961901
1897- .. versionadded :: 4.3.0
1898-
18991902 Used for ``*Batch() `` methods to set data for insert, update, upsert.
19001903
19011904 .. php :method :: setUpdateBatch($key[, $value = ''[, $escape = null]])
19021905
1906+ .. deprecated :: 4.3.0
1907+ Use :php:meth: `CodeIgniter\\ Database\\ BaseBuilder::setData() ` instead.
1908+
19031909 :param mixed $key: Field name or an array of field/value pairs
19041910 :param string $value: Field value, if $key is a single field
19051911 :param bool $escape: Whether to escape values
0 commit comments