Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3841535

Browse files
Merge 5.1 into 5.x (#3176)
2 parents 6c9b443 + f6536fe commit 3841535

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎docs/query-builder.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,13 @@ value greater than ``8.5`` and a ``year`` value of less than
221221
:start-after: begin query andWhere
222222
:end-before: end query andWhere
223223

224+
.. tip::
225+
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.
230+
224231
.. _laravel-query-builder-logical-not:
225232

226233
Logical NOT Example

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /