pub const JSON_SUBTYPE: u32 = 74;Expand description
A scalar (row-level) SQL function.
Scalar functions are invoked once per row and return a single value.
They are stored in the FunctionRegistry as
Arc<dyn ScalarFunction>.
§Error Handling
- Return
FrankenError::FunctionErrorfor domain errors (e.g.abs(i64::MIN)). - Return
FrankenError::TooBigif the result exceedsSQLITE_MAX_LENGTH. SQLite’s JSON subtype tag ('J'= 74), attached to TEXT/BLOB values produced by JSON functions so downstream JSON constructors embed them as parsed JSON rather than quoting them as ordinary strings.