EdgeQL Tutorial

Scalars

Subtopics

Closely related to scalars are arrays, which are ordered collections of scalar values. All elements in an array have to be the same type:

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

Array elements can be accessed by giving an index (starting with 0) enclosed in []:

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

You can also cast arrays from one type to another by using a "nested" cast notation:

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