Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/query-builder.txt
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,13 @@ value greater than ``8.5`` and a ``year`` value of less than
:start-after: begin query andWhere
:end-before: end query andWhere

.. tip::

In v5.1, you can use the arrow (``->``) or dot (``.``) notation
to access nested fields in a query filter. The preceding example
uses the dot notation to query the ``imdb.rating`` nested field, but
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: I think "arrow notation" and "dot notation" without "the" is more common? Disregard if this is the laravel-specific terminology though

Suggested change
In v5.1, you can use the arrow (``->``) or dot (``.``) notation
to access nested fields in a query filter. The preceding example
uses the dot notation to query the ``imdb.rating`` nested field, but
In v5.1, you can use arrow (``->``) or dot (``.``) notation
to access nested fields in a query filter. The preceding example
uses dot notation to query the ``imdb.rating`` nested field, but

``imdb->rating`` achieves the same result.

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

Logical NOT Example
Expand Down
Loading