Function query

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

Execute a query on the PostgreSQL connection and return the rows