Skip to content

Commit 46d324d

Browse files
committed
JT + JS feedback
1 parent 44af6bc commit 46d324d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/query-builder.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,10 @@ value greater than ``8.5`` and a ``year`` value of less than
223223

224224
.. tip::
225225

226-
In v5.1, you can use the arrow (``->``) or dot (``.``) notation
227-
to access nested fields in a query filter. The preceding example
228-
uses the dot notation to query the ``imdb.rating`` nested field, but
229-
``imdb->rating`` achieves the same result.
226+
For compatibility with Laravel, Laravel MongoDB v5.1 supports both arrow
227+
(``->``) and dot (``.``) notation to access nested fields in a query
228+
filter. The preceding example uses dot notation to query the ``imdb.rating``
229+
nested field, which is the recommended syntax.
230230

231231
.. _laravel-query-builder-logical-not:
232232

0 commit comments

Comments
 (0)