Expand description
Transform Engine
Pipeline transforms applied to binding values.
Transforms are chained with | pipes: sort | unique | first(3)
§Categories
| Category | Ops |
|---|---|
| String | upper, lower, trim, trim_start, trim_end |
| Collection | length, first, last, first(N), last(N), keys, values, flatten, reverse, sort, unique, compact |
| Type conversion | to_string, to_number, to_bool, to_json, parse_json |
| Numeric | round(N), abs, ceil, floor |
| Utility | default(V), type_of, join(S), split(S), shell |
§Null Handling
- Propagating: null in → null out (
length,keys,type_of,to_string,to_json) - Failing: null in → NIKA-153 error (
upper,lower,sort, etc.) - Use
default()or??to handle nulls safely
Structs§
- Transform
Expr - A chain of transform operations:
sort | unique | first(3) - Transform
Parse Error - Error parsing a transform expression (NIKA-151)
Enums§
- Transform
Error - Error applying a transform (NIKA-152 type mismatch, NIKA-153 null input)
- Transform
Op - A single transform operation