Answers from the community about GROQ

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

TopicCategoriesFeaturedRepliesLast Updated
Is there a way to query documents that aren’t referenced by another type of document?7Nov 23, 2020
How to delete all docs of a specific doc type via cli?4Nov 13, 2020
Is there a way to set the default state of a boolean to (false)?4Nov 12, 2020
Anyone who could help me out with sanity/mux?6Nov 3, 2020
Is it possible to fetch more than one "_type" using GROQ?5Nov 2, 2020
Cannot connect to Groq API endpoint - "no API found with those values5Oct 29, 2020
Are there some limitations on -> when nested like this?14Oct 23, 2020
GROQ reference operator (->) not working in nested arrays12Oct 23, 2020
Is it possible to have a conditional value within groq?4Oct 19, 2020
what is the recommended way to query an array of references?4Oct 11, 2020
how to implement localization on blocks?5Oct 5, 2020
Where to place data import file and why documents aren't appearing in Studio2Oct 2, 2020
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
Sanity production dataset returning "Internal Error", staging works fine9Sep 15, 2020