Skip to content

Commit 06e4c46

Browse files
committed
RR feedback
1 parent a752f7c commit 06e4c46

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
@@ -176,9 +176,9 @@ Logical OR Example
176176

177177
The following example shows how to chain the ``orWhere()``
178178
query builder method to retrieve documents from the
179-
``movies`` collection that either match the ``_id``
180-
value of ``ObjectId('573a1398f29313caabce9682')`` or match
181-
the ``title`` value ``"Back to the Future"``:
179+
``movies`` collection in which the value of the ``_id``
180+
field is ``ObjectId('573a1398f29313caabce9682')`` or
181+
the value of the ``title`` field is ``"Back to the Future"``:
182182

183183
.. literalinclude:: /includes/query-builder/QueryBuilderTest.php
184184
:language: php
@@ -188,11 +188,11 @@ the ``title`` value ``"Back to the Future"``:
188188

189189
.. note::
190190

191-
Beginning in {+odm-short+} v5.0, you can use the ``id`` alias to
192-
represent the ``_id`` field, as shown in the preceding code. When you
193-
run a find operation using the query builder, {+odm-short+}
194-
automatically converts between ``id`` and ``_id``. You cannot have
195-
two separate ``id`` and ``_id`` fields in your documents.
191+
You can use the ``id`` alias in your queries to represent
192+
the ``_id`` field in MongoDB documents, as shown in the preceding
193+
code. When you run a find operation using the query builder, {+odm-short+}
194+
automatically converts between ``id`` and ``_id``. Because of this behavior,
195+
you cannot have two separate ``id`` and ``_id`` fields in your documents.
196196

197197
.. _laravel-query-builder-logical-and:
198198

0 commit comments

Comments
 (0)