Search
ctrl/
Ask AI
Light
Dark
System

Sets

Subtopics

EdgeDB has functions that operate on whole sets. These are commonly known as "aggregate functions" in other databases. The set of syntax in their signature makes them easy to spot:

std::count(s: set of anytype) -> int64

Try out a few built-in aggregate functions:

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