Skip to main content


Deprecated version

This document refers to a deprecated version of the RQL programming language.

Please go here for documentation related to the latest supported version.

Any expression can be casted at runtime to another type, causing a runtime error if casting is not allowed.

CAST(<expression> AS <type>)
v: any := 1;

CAST(v AS INT) // 1
CAST(v AS INTERVAL) // Runtime error!