Structured Content
GROQ
Lesson 2 of 5
Sanity's query language in five moves — filter, project, dereference with ->, order, and parameterize.
What you'll learn
- Filter documents with *[...] predicates
- Shape results with projections, including renamed and computed fields
- Join across documents with the -> dereference operator
- Order, slice, and parameterize queries safely
Members only
A free account unlocks this lesson and every other one.
Runnable challenges, knowledge checks, and progress that syncs across your devices. No card needed.
Not sure yet? Try the free lesson first: Content modeling