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
0 Comments