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
Discussion on how to display star ratings from a Sanity plugin on a Gatsby site12Oct 23, 2021
Best practice for using literal strings in GROQ queries with JavaScript client4Oct 21, 2021
Discussion about using @sanity/block-content-to-react and Next.js for a blog, including setting up a serializer for links...11Oct 19, 2021
Constructing a GROQ query to filter blog posts by category in a Slack thread.40Oct 18, 2021
Writing GROQ queries to flatten nested objects and transform object entries into an array39Oct 17, 2021
Bug with GROQ query not following reference in rich-text links12Oct 15, 2021
How to expand a reference in a link component in React Portabletext serializers9Oct 15, 2021
Issue with schema update not reflecting on front end in GatsbyJS11Oct 14, 2021
How to switch between languages on a landing page using Next JS5Oct 13, 2021
How to Access the Meta-Data of an Uploaded Image within a Custom Input Component5Oct 12, 2021
Discussion on creating hierarchical slugs in Sanity.io using parent-child reference setup and async slugifier33Oct 12, 2021
GROQ Query Response - Making a Separate Property the Property an Object10Oct 6, 2021
How to get documents that reference a specific document in GET requests to the Sanity API.4Oct 5, 2021
Best approach for retrieving translations when running groq queries from the frontend9Oct 4, 2021
Troubleshooting NextJS live preview feature with API route errors and missing response31Oct 4, 2021
Issue with retrieving data from an array in a document in Sanity.io12Oct 4, 2021
GraphQL Error: Cannot query field "userSummary"6Sep 29, 2021
Error in React/Sanity tutorial code, resolved with missing comma in query7Sep 29, 2021