postgres_extract_value

Function postgres_extract_value 

Source
pub fn postgres_extract_value(
    row: &Row,
    idx: usize,
) -> Result<RowValues, SqlMiddlewareDbError>
Expand description

Extracts a RowValues from a tokio_postgres Row at the given index.

ยงErrors

Returns SqlMiddlewareDbError if the column cannot be retrieved.