All Posts with Tag "GROQ"
This article shows a type helper for extracting parameter types from a GROQ statement.
This article helps you implement cursor-based pagination with Sanity. The implementation includes the following features:
1. Support for querying backward to get the cursor for the previous page.
2. Only one cursor is needed for both forward and backward queries.
3. Two GROQ queries are required.