Skip to content

Commit 789b35d

Browse files
committed
Fix error in docs and add return types
1 parent 3f8d887 commit 789b35d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

user_guide_src/source/database/query_builder.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2044,8 +2044,10 @@ Class Reference
20442044
20452045
.. versionadded:: 4.8.0
20462046

2047-
:param array $columns: A list of columns or array of column => value pairs to decrement.
2047+
:param array $columns: A list of columns or array of column => value pairs to increment.
20482048
:param int $value: The amount to increment in the columns, if $columns is a list of columns.
2049+
:returns: ``true`` on success, ``false`` on failure
2050+
:rtype: bool
20492051

20502052
Increments the value of multiple fields by the specified amounts. If a field
20512053
is not a numeric field, like a ``VARCHAR``, it will likely be replaced
@@ -2066,6 +2068,8 @@ Class Reference
20662068

20672069
:param array $columns: A list of columns or array of column => value pairs to decrement.
20682070
:param int $value: The amount to decrement in the columns, if $columns is a list of columns.
2071+
:returns: ``true`` on success, ``false`` on failure
2072+
:rtype: bool
20692073

20702074
Decrements the value of multiple fields by the specified amounts. If a field
20712075
is not a numeric field, like a ``VARCHAR``, it will likely be replaced

0 commit comments

Comments
 (0)