Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

Answers from the community about GROQ

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Slack to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
sanity documents query *[_id in path("/somePath")] currently returning bad pattern5Oct 1, 2020
I want to add a view with the Structure builder (S.view.component) where I list similar documents based on the title. What...8Sep 23, 2020
What is the best way to validate that e.g. a title for a document is unique within its type?6Sep 21, 2020
Can the results of a query in documentList be reused inside the function?4Sep 19, 2020
Nuxt ServerError: An invalid response was received from the upstream server27Sep 15, 2020
Hey I’m getting some problems on my production dataset, no requests to the API are working and I’m just getting a general...9Sep 15, 2020
Is there a Way to Limit the Response in the API?4Sep 14, 2020
I'm having a issue with deploying graphql query something about top level schema error.12Sep 12, 2020
it looks like our problems are caused by editors publishing drafts after backend token has updated docs, and thus overwriting...21Sep 10, 2020
How to Set Aspect Ratios on Images?6Sep 7, 2020
How to Filter Query Results by a Property that is a Reference4Sep 7, 2020
How to Create a Download URL For Files11Sep 5, 2020
How to create a new document inside an array in Sanity27Sep 4, 2020
Is it Possible to Perform a Slice based on a Value Received in the Same Query?9Aug 28, 2020
Gatsby Sanity Source Query - Is GROQ Better Than GraphQL?3Aug 25, 2020
Debugging inconsistency with Vision Plugin and draft titles in Sanity.io15Aug 20, 2020
Discussion on querying nested JSON data in GROQ and structuring data in Sanity for easier querying.26Aug 19, 2020
Gatsby site crashing with cryptic error, resolved by adjusting resolveReferences depth3Aug 18, 2020