Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update syntax.rst #28

Merged
merged 1 commit into from
Mar 14, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/bql/syntax.rst
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ The basic rules are:

The first element of a JSON Path must always be a "map access" component (since the document is always a map) and the leading dot must be omitted.

For example, ``ids[1]`` in the document given above would return ``17``, ``dists[-2].other`` would return ``7`` and just ``dists`` would return the array ``[{"other": "foo", "value": 7}, {"other": "bar", "value": 3.5}]``.
For example, ``ids[1]`` in the document given above would return ``17``, ``dists[-2].other`` would return ``foo`` and just ``dists`` would return the array ``[{"other": "foo", "value": 7}, {"other": "bar", "value": 3.5}]``.

Extended Descend Operators
^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down