Function query_one

Source
pub fn query_one(
    query: &str,
    params: &[&(dyn ToSql + Sync)],
) -> Result<Row, Error>
Expand description

Execute a query on the PostgreSQL connection and return a single row