Skip to main content

Module query

Module query 

Source
Expand description

SQLite query execution helpers.

Structs§

ExecResult
ExecuteResult
QueryResult
SqliteQueryProfile
SqliteResultTooLargeError
A statement’s result grew past the command’s result byte cap. The statement is stopped before the value that crossed the cap is copied out of SQLite.
SqliteStatementError

Enums§

BindParam
ColumnValue

Functions§

exec_statements
Runs every statement in sql and returns the rows of the last one that has columns or rows. With max_result_bytes, each statement’s result is capped at that many logical bytes.
exec_statements_profiled
Like exec_statements, also returning the profile of the returned statement.
execute_single_statement
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.
execute_single_statement_profiled
Like execute_single_statement, also returning the statement’s profile.
execute_statement
query_statement