Skip to main content

query_one

Function query_one 

Source
fn query_one<T, F>(
    conn: &Connection,
    query: Query,
    mapper: F,
) -> Result<T, String>
where F: Fn(&Row<'_>) -> Result<T>,