Introduction to GROQ Query Language
Offered By: egghead.io
Course Description
Overview
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.
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.
Syllabus
- What is GROQ?
- Create a GROQ Filter
- Use GROQ Projections to Get the Data You Want
- Use GROQ `select` to Set Values Based on Conditions
- Use GROQ to Filter Items Based on an Array
- Limit the Number of Items Returned from a GROQ Query
- Order the Results Returned from a GROQ Query
- Join Together Two Arrays in GROQ
- Filter Arrays in JSON Based on Other Arrays in GROQ
- Advanced GROQ With Parent Scopes and Subqueries
Taught by
John Lindquist
Related Courses
MongoDB for DBAsMongoDB University MongoDB for Node.js Developers
MongoDB University Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity Programming Mobile Services for Android Handheld Systems: Communication
Vanderbilt University via Coursera HTML, CSS, and Javascript for Web Developers
Johns Hopkins University via Coursera