Skip to content

Commit

Permalink
Merge pull request #28 from nejigane/patch-1
Browse files Browse the repository at this point in the history
Update syntax.rst
  • Loading branch information
tgpfeiffer committed Mar 14, 2016
2 parents 8b84068 + d7cc70c commit fc7b7ea
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit fc7b7ea

Please sign in to comment.