Expand description
SQLSTATE matching, row diagnostics, and RAISE formatting.
Functions§
- arm_
matches - Match an exception arm’s condition list against a
SQLSTATE. - catchable
- format_
raise_ message - Substitute
%placeholders in a RAISE format string. - looks_
like_ sqlstate - raise_
text - Text form of a value inside a RAISE message (
NULLrenders as<NULL>, booleans ast/f, arrays in brace form). - result_
row_ count - result_
row_ values - Copy one result row in declared output-column order. Positional result storage is authoritative when labels repeat; named rows are only the public compatibility carrier used by
SQLResult::value_at’s final fallback. - return_
query_ context_ error - routine_
message - Message text exposed through SQLERRM: user-routine errors keep their raw message, engine errors keep their display form.
- sqlstate_
matches - strict_
into_ check - to_
i64_ value