Skip to main content

decode_value

Function decode_value 

Source
pub fn decode_value(
    type_oid: u32,
    data: Option<&[u8]>,
    format: Format,
) -> Result<Value, Error>
Expand description

Decode a PostgreSQL value to a dynamic Value.

ยงArguments

  • type_oid - The PostgreSQL OID of the type
  • data - The raw data bytes (None for NULL)
  • format - Wire format (text or binary)