pub fn each_rows(
arg: &Value<'_>,
as_text: bool,
fn_name: &str,
) -> Result<Vec<(String, Option<String>)>, EvalError>Expand description
v7.37.17 (17.6 siblings) — shared body for the four each SRFs.
as_text (the *_each_text forms) unwraps scalar values to
their lexeme and maps JSON null → SQL NULL; the plain forms
render every value (including JSON null) as compact JSON text,
which the executor wraps as a jsonb-typed column.