Accessing Properties

You can access properties of an item by using the name of the property as defined in the schema.

// Get specific properties
::{<SchemaFieldNames>}

Accessing the ID

::ID
QUERY findUsers() =>
    users <- N<User>::RANGE(0, 10)
    RETURN users::ID

Spread Operator

Using the spread operator, you can remap values while including all other properties of the selected element in the returned object.

::{
    userID: ID,
    .. 
}