Skip to main content

raw_query

Function raw_query 

Source
pub fn raw_query(
    config: &str,
    sql: &str,
    order_table: Option<&str>,
    join_left: Option<(&str, &[String])>,
) -> Result<(Vec<String>, Vec<Vec<Value>>), PostgresError>
Expand description

Execute pushed-down SQL directly: the column names and rows, ordered by order_table’s key when one is given (the pushdown contract: row order must match the adapter’s document order).