Skip to content

Commit a1fd9d2

Browse files
committed
clarify v4.8
1 parent 859d62e commit a1fd9d2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/query-builder.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,10 +1068,10 @@ the ``imdb.votes`` field in the matched document:
10681068
The ``increment()`` query builder method returns the number of documents that the
10691069
operation updated.
10701070

1071-
You can also use the ``incrementEach()`` query builder method to increment multiple
1072-
values in a single operation. The following example uses the ``incrementEach()``
1073-
method to increase the values of the ``awards.wins`` and ``imdb.votes`` fields in the
1074-
matched document:
1071+
Starting in {+odm-short+} v4.8, you can also use the ``incrementEach()`` query
1072+
builder method to increment multiple values in a single operation. The following
1073+
example uses the ``incrementEach()`` method to increase the values of the ``awards.wins``
1074+
and ``imdb.votes`` fields in the matched document:
10751075

10761076
.. literalinclude:: /includes/query-builder/QueryBuilderTest.php
10771077
:language: php
@@ -1103,10 +1103,10 @@ matched document:
11031103
The ``decrement()`` query builder method returns the number of documents that the
11041104
operation updated.
11051105

1106-
You can also use the ``decrementEach()`` query builder method to decrement multiple
1107-
values in a single operation. The following example uses the ``decrementEach()``
1108-
method to decrease the values of the ``metacritic`` and ``imdb.rating`` fields in the
1109-
matched document:
1106+
Starting in {+odm-short+} v4.8, you can also use the ``decrementEach()`` query builder
1107+
method to decrement multiple values in a single operation. The following example uses
1108+
the ``decrementEach()`` method to decrease the values of the ``metacritic`` and ``imdb.rating``
1109+
fields in the matched document:
11101110

11111111
.. literalinclude:: /includes/query-builder/QueryBuilderTest.php
11121112
:language: php

0 commit comments

Comments
 (0)