Advertisement

Remix your content with 3 useful GROQ queries

Remix your content with 3 useful GROQ queries In this tutorial, we'll dive into one of Sanity.io's default datasets to learn how to use GROQ to make interesting connections between different types of documents. We'll discover how to find all documents that reference Matt Damon, create a Matt Damon film festival, and list all screenings featuring a specific movie.

GROQ Documentation:
Learn more about combining data with GROQ joins:
Getting started with Sanity.io:

#HeadlessCMS

00:00 Introduction
00:13 Setup
00:40 Studio walkthrough
01:22 Find all documents that reference a person document
03:20 Join screening information onto a movie document
05:45 List all screenings with a movie that references Matt Damon
08:15 Recap

headless cms,content management,content as data,query content,web development,jamstack,programming,cms,content api,api,api query,javascript data,

Post a Comment

0 Comments