Skip to main content

validate_row_description

Function validate_row_description 

Source
pub fn validate_row_description(msg: &BackendMessage) -> Result<()>
Expand description

Validate that RowDescription matches our requirements

ยงErrors

Returns Error::Protocol if the message is not a RowDescription. Returns Error::InvalidSchema if the result does not have exactly one column named data with a json/jsonb type OID.