Skip to main content

execute_single_statement

Function execute_single_statement 

Source
pub fn execute_single_statement(
    db: *mut sqlite3,
    sql: &str,
    params: Option<&[BindParam]>,
    max_result_bytes: Option<u64>,
) -> Result<ExecuteResult>
Expand description

Runs one statement and collects its rows. With max_result_bytes, the statement stops with SqliteResultTooLargeError as soon as its result passes that many logical bytes.