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
Error using @portabletext/react instead of @sanity/block-content-to-react10Feb 10, 2022
How to flatten an array of arrays of objects using Groq in Sanity.io.8Feb 9, 2022
Getting the text of each span within block types using GROQ in Sanity.io25Feb 8, 2022
Running a patch commit to a set of documents at once in Sanity.io using a bulk deletion script.20Feb 8, 2022
Issue with fetching Mux video type in Sanity schema using Groq20Feb 7, 2022
Difficulty with GROQ query for getting a reference for an image 2 levels down.9Feb 7, 2022
Error when trying to create a dynamic query using Gatsby + Sanity19Feb 4, 2022
Gatsby - How to Filter a List of Documents by Whether they are Published or Not4Feb 2, 2022
Resolving references in Sanity Studio using GROQ queries12Feb 2, 2022
GraphQL Query: Filtering not Working Properly3Feb 1, 2022
How to get the title of a referenced document while keeping all other data in GROQ.8Jan 28, 2022
Issue with the Sanity calendar plugin not displaying the schedule button, but resolved with help from another user.18Jan 28, 2022
How to get slugs from parent documents in Sanity Studio using custom slugify function.7Jan 26, 2022
How to append an array in GROQ?5Jan 25, 2022
Error integrating Algolia with NextJS and Sanity7Jan 24, 2022
Get All Elements from an Array7Jan 22, 2022
Querying for all authors and excluding the author of the current article in Sanity.io14Jan 21, 2022
GROQ - Is it possible to Order Items Conditionally Based on the Value of the Field?6Jan 20, 2022