Search
ctrl/
Ask AI
Light
Dark
System

Sets

Subtopics

Ultimately all queries in EdgeDB return sets (or multi-sets) of results. In fact, all values are treated as sets as well, so that a literal 1 is taken to mean the set {1}. You may have noticed that in all the previous query examples.

All elements of a set in EdgeDB have to be of the same type.

You can construct a set using set literal {...} notation:

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