Skip to content

LET value expressions

RETURN LET x = 1, VALUE y INTEGER = 2 IN x + y END AS total;

This is an expression with local definitions and a result body. It differs from the executable untyped LET query clause. Typed VALUE definitions can be represented in the AST without providing runtime query evaluation.

See supported features for executable alternatives.