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
getFluidGatsbyImage not exported from gatsby-source-sanity in Gatsby V32Mar 19, 2021
Shopify webhooks for Best Seller algorithm collection reordering behavior14Mar 15, 2021
How to expand array of mixed-type references in GROQ query?15Mar 15, 2021
Reference field not finding documents after converting object to document type8Mar 15, 2021
Access document values in custom document actions13Mar 14, 2021
HTML table component or styling in sanity-ui?8Mar 12, 2021
How to fetch all nested references dynamically with one GROQ query?8Mar 11, 2021
WordPress to Sanity migration process and best practices29Mar 10, 2021
Gatsby Image not working in nested Sanity pageLinks array query6Mar 8, 2021
How to dereference and get name from companyType reference in Sanity query2Mar 7, 2021
How to set initial value for reference field in Sanity schema?9Mar 4, 2021
Support for Brotli compression in addition to Gzip25Mar 4, 2021
Client-side routing without server-side rendering in Next.js15Feb 24, 2021
Dereferencing nested object references in GROQ array query6Feb 24, 2021
How to globally ignore drafts in GROQ queries without filtering each time?12Feb 18, 2021
How to unset/clear a nonexistent reference field in Sanity CMS26Feb 17, 2021
GROQ join: Filter products by category name using reference16Feb 15, 2021
Dynamic route works in dev but fails in production with next build19Feb 12, 2021