issues
search
sanity-io
/
GROQ
Specification for GROQ - The Query Language for JSON
https://groq.dev
MIT License
398
stars
15
forks
source link
Specify (array) traversals
#62
Closed
judofyr
closed
3 years ago
judofyr
commented
3 years ago
This adds specification of how (array) traversals should work:
A new section explaining the concept of "traversals". These are evaluated in a right-associative way.
AttributeAccess, ElementAccess, Slice, Filter, Projection, Dereference are no longer standalone expressions, but rather part of a traversal.
Adds all of the rules for how traversals are combined and when join/mapping/flat-mapping is happening.
This adds specification of how (array) traversals should work: