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
GraphQL vs GROQ: Which has better first-class support in Sanity?19Apr 12, 2021
Sanity with Angular: Why no starter projects or tutorials?10Apr 12, 2021
Desk Tool crashes with "Invalid path string" error when accessing post8Apr 11, 2021
usePreviewSubscription not showing draft content in Next.js10Apr 8, 2021
Including referenced document's slug field in Sanity query results60Apr 7, 2021
Storing Full Path vs Document Slug in Sanity Slug Fields22Apr 2, 2021
Deploy Studio and Frontend Separately with Existing Dataset41Apr 2, 2021
How to Filter on Object Keys in a Nested Object in Groq-Req?8Mar 31, 2021
Filter GROQ query results to return only unique/distinct values8Mar 31, 2021
Get image ratio without GROQ query using @sanity/image-url helper15Mar 30, 2021
Fetching Sanity site config in Next.js _app.tsx returns empty in pageProps7Mar 30, 2021
Static site deployment with preview workflow for Next.js and Sanity6Mar 29, 2021
Search solutions for Shopify/Gatsby: Algolia alternatives?16Mar 26, 2021
GatsbyImage with gatsby-source-sanity: Cannot read property 'split' error13Mar 25, 2021
How to delete unused assets from large dataset without timeout errors?2Mar 23, 2021
Drawbacks of using single [[...slug]].js vs Next.js file-based routing?20Mar 22, 2021
How to query alt tags for inline images in block content serializers?22Mar 19, 2021
How to Concatenate String Fields in a Schema10Mar 19, 2021