Definition at line 14 of file archive_statement.cc.
◆ Handle()
| impeller::ArchiveStatement::Handle::Handle |
( |
void * |
db, |
|
|
const std::string & |
statememt |
|
) |
| |
|
inline |
Definition at line 15 of file archive_statement.cc.
19 ::sqlite3_stmt* handle =
nullptr;
20 if (::sqlite3_prepare_v2(
reinterpret_cast<sqlite3*
>(db),
22 static_cast<int>(statememt.size()),
24 nullptr) == SQLITE_OK) {
◆ ~Handle()
| impeller::ArchiveStatement::Handle::~Handle |
( |
| ) |
|
|
inline |
Definition at line 29 of file archive_statement.cc.
30 if (handle_ ==
nullptr) {
33 auto res = ::sqlite3_finalize(handle_);
34 FML_CHECK(res == SQLITE_OK) <<
"Unable to finalize the archive.";
◆ Get()
| ::sqlite3_stmt* impeller::ArchiveStatement::Handle::Get |
( |
| ) |
const |
|
inline |
◆ IsValid()
| bool impeller::ArchiveStatement::Handle::IsValid |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file: