Answers from the community about Queries

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
GROQ: Query reverse relationships - get all businesses by county reference3Dec 29, 2020
Is the GROQ `match` operator case-sensitive?3Dec 28, 2020
GROQ: How to match exact string subset and exclude partial matches (WW not UWW)?16Dec 15, 2020
`slug` is `undefined` when I track mark and children from internalLink5Dec 14, 2020
Write a GROQ query for getting all documents that has an ID in an array of IDs5Nov 28, 2020
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
Anyone who could help me out with sanity/mux?6Nov 3, 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
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
How to grab image metadata from images inserted into Content blocks?8Sep 28, 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