Skip to main content

run

Function run 

Source
pub async fn run(
    tables: &Tables,
    sql: &str,
    mode: Mode,
    inline_rows: usize,
) -> Result<Outcome, SqlError>
Expand description

Execute one read-only SQL query and return either a rendered table, a JSON payload, or encoded export bytes.