Rindle docs and package mapSkip to main content

decode_wire_value

Function decode_wire_value 

pub fn decode_wire_value(value: &Value) -> Result<OwnedValue, StatementRunError>
Expand description

Decode one v1 SQL wire value. Integers use a tagged decimal string; finite REALs use JSON numbers and infinities use the tagged float form. There is deliberately no BLOB tag in v1.