#include <sqt/foundation/statement.h>
Wrapper class for SQLite statement.
Public Member Functions | |
| Statement (sqlite3_stmt *statement_handle, sqlite3 *database_handle) noexcept | |
| ~Statement () | |
| Statement (const Statement &)=delete | |
| Statement & | operator= (const Statement &)=delete |
| Statement (Statement &&other) noexcept | |
| Statement & | operator= (Statement &&other) noexcept |
| void | BindParameter (int parameter_index, int value) |
| void | BindParameter (int parameter_index, std::int64_t value) |
| void | BindParameter (int parameter_index, double value) |
| void | BindParameter (int parameter_index, std::string_view string) |
| void | BindParameter (int parameter_index, std::span< const std::byte > bytes) |
| void | BindParameter (int parameter_index, std::nullopt_t null) |
| void | ClearBindings () |
| StepResult | Step () |
| void | Reset () |
| DataType | GetColumnType (int column_index) const noexcept |
| int | GetColumnInt (int column_index) const noexcept |
| std::int64_t | GetColumnInt64 (int column_index) const noexcept |
| double | GetColumnDouble (int column_index) const noexcept |
| std::string_view | GetColumnText (int column_index) const noexcept |
| std::span< const std::byte > | GetColumnBLOB (int column_index) const noexcept |
| sqlite3_stmt * | Handle () const noexcept |