pub async fn query<C: GenericClient + Sync>( client: &C, query: Sql, params: &[&(dyn ToSql + Sync)], ) -> Result<Vec<Row>, PostgresError>
Runs a query and returns all resulting rows.