Skip to content

Commit 7ca102c

Browse files
committed
Fix error in docs and add return types
1 parent 493e7ab commit 7ca102c

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
@@ -2098,8 +2098,10 @@ Class Reference
20982098
20992099
.. versionadded:: 4.8.0
21002100

2101-
:param array $columns: A list of columns or array of column => value pairs to decrement.
2101+
:param array $columns: A list of columns or array of column => value pairs to increment.
21022102
:param int $value: The amount to increment in the columns, if $columns is a list of columns.
2103+
:returns: ``true`` on success, ``false`` on failure
2104+
:rtype: bool
21032105

21042106
Increments the value of multiple fields by the specified amounts. If a field
21052107
is not a numeric field, like a ``VARCHAR``, it will likely be replaced
@@ -2120,6 +2122,8 @@ Class Reference
21202122

21212123
:param array $columns: A list of columns or array of column => value pairs to decrement.
21222124
:param int $value: The amount to decrement in the columns, if $columns is a list of columns.
2125+
:returns: ``true`` on success, ``false`` on failure
2126+
:rtype: bool
21232127

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

0 commit comments

Comments
 (0)