Skip to main content

raw_query_on

Function raw_query_on 

Source
pub async fn raw_query_on<'c, T, E>(
    sql: &str,
    binds: Vec<SqlValue>,
    executor: E,
) -> Result<Vec<T>, ExecError>
where T: for<'r> FromRow<'r, PgRow> + Send + Unpin, E: Executor<'c, Database = Postgres>,
Expand description

Like raw_query but accepts any sqlx executor.

ยงErrors

As raw_query.