EdgeDB 1.0 is launching on Feb 10th! Watch the live event.
Claim your ticket
EdgeQL Tutorial

Filters

Subtopics

Object properties can be used to filter the results. For example, to query only the user matching a specific name try:

Input
Run
Output
Press the 'Run' button to evaluate the input

When specifying properties in FILTER clause a shorthand can be used. Instead of giving the full path to the property, you can just start with a . and enter the property name directly:

Input
Run
Output
Press the 'Run' button to evaluate the input

It's possible to refer to a link in a FILTER in the same way that properties are referred to. For example, to get photos made by a specific user try:

Input
Run
Output
Press the 'Run' button to evaluate the input