DRAFTThis page is not published. Only visible in development mode.
RQL scripting

Variables & Control Flow

RQL statements can bind variables and branch, turning queries into scripts without leaving the language.

Variables with let

Bind a value once, use it anywhere in the statement:

$ Variables with let
$ ctrl+enter to run

Branching and loops

if/else expressions, loop, while, break, continue, and match. This section will document each construct with runnable examples.

Closures

Anonymous functions for reusable expressions inside scripts. This section will cover closure syntax and where closures can be called.