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

Match Transform

Use match for conditional logic, the RQL equivalent of SQL's CASE.

Value Match

$ Value Match
$ ctrl+enter to run

Match a column against specific values. Each arm maps a value to a result. The else arm catches everything else.

Searched Match

$ Searched Match
$ ctrl+enter to run

Omit the scrutinee and write each arm as a full condition with =>. Each condition is evaluated in order; the first match wins.