illustration for Introduction to GROQ Query Language
free

Introduction to GROQ Query Language

Instructor

John Lindquist
23m closed-captioning
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
5.0
45
people completed
Published 2 months ago
|
Updated 2 months ago

GROQ (Graph-Relational Object Queries) is a query language for JSON. This course will help you build your first query and walk you through filters, projections, functions, and the other features of GROQ to help you request exactly the data that you want.

In this course, John Lindquist will teach you how to create and structure GROQ queries to load exactly the data you want.

The course will kick off by giving you a quick introduction on what GROQ is, and then you will learn how to use the different features the language supports.

At the end of this course you will know how to use GROQ in the context of a Sanity.io dataset.

Free Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.

Learner Reviews

  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    This is a really powerful tool... Just divinely explained. Thanks!

    Learner
    a month ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    So succinct and clear. Useful even if you already know some GROQ!

    Knut Melvær
    2 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Amazing Query Language, This just became part of my future app developments 😊

    Pramod Jingade
    2 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Im used to mapping and filtering and reducing. The expressiveness with groq is mind blowing in comparison. The in operator is key to understanding complex queries!

    Ian Jones
    2 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Really simple, really enjoyed the tutors dry sense of humour and it's especially helpful as we are skilling up to start building with Sanity

    jonoroboto
    2 months ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    This course gave a clear picture of how to filter and build your data exactly how you need with GROQ.

    I loved the latter half of the course where John shows how to access and utilize parent scope in nested queries.

    Thanks for this John!

    Zac Jones
    2 months ago

Course Content

23m • 10 lessons

    You might also like these resources:

    illustration for Introduction to Cloudflare Workers
    Kristian Freeman・36m・Course

    Become familiar with the Workers CLI wrangler that we will use to bootstrap our Worker project. From there you'll understand how a Worker receives and returns requests/Responses. We will also build this serverless function locally for development and deploy it to a custom domain.

    illustration for Create an eCommerce Store with Next.js and Stripe Checkout
    Colby Fayock・1h 4m・Course

    This is a practical project based look at building a working e-commerce store using modern tools and APIs. Excellent for a weekend side-project for your developer project portfolio

    illustration for Practical Git for Everyday Professional Use
    Trevor Miller・1h・Course

    git is a critical component in the modern web developers tool box. This course is a solid introduction and goes beyond the basics with some more advanced git commands you are sure to find useful.