pub fn expand_scalar_sql_functions(
sql: &str,
funcs: &HashMap<String, ScalarSqlFunction>,
) -> Result<String, String>Expand description
Inline every call to a registered scalar SQL function in sql, returning
pure native SQL. No-op (returns sql unchanged) when funcs is empty or the
query references none of them. Errors only if the query cannot be parsed.