Expand description
Expression evaluation against a JSON row.
Scan handlers materialize rows as serde_json::Value before applying
ORDER BY and window functions. Both evaluate arbitrary expressions per row
and both must surface an evaluation failure — a zero divisor in
ORDER BY 100 / weight fails the statement with SQLSTATE 22012 rather
than sorting the row under NULL.
Functions§
- compare_
json - Total order over JSON values for sorting.
- eval_
expr_ on_ json - Evaluate
expragainst a JSON row.