Botan 3.6.1
Crypto and TLS for C&
|
#include <sqlite3.h>
Public Member Functions | |
void | create_table (std::string_view table_schema) override |
virtual size_t | exec (std::string_view sql) |
bool | is_threadsafe () const override |
std::shared_ptr< Statement > | new_statement (std::string_view sql) const override |
size_t | row_count (std::string_view table_name) override |
size_t | rows_changed_by_last_statement () override |
Sqlite3_Database (std::string_view file, std::optional< int > sqlite_open_flags=std::nullopt) | |
~Sqlite3_Database () override | |
Botan::Sqlite3_Database::Sqlite3_Database | ( | std::string_view | file, |
std::optional< int > | sqlite_open_flags = std::nullopt ) |
Create a new SQLite database handle from a file.
file | path to the database file be opened and/or created |
sqlite_open_flags | flags that will be passed to sqlite3_open_v2() (default: SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE | SQLITE_OPEN_FULLMUTEX) |
Definition at line 17 of file sqlite3.cpp.
|
override |
Definition at line 32 of file sqlite3.cpp.
|
overridevirtual |
Implements Botan::SQL_Database.
Definition at line 53 of file sqlite3.cpp.
|
inlinevirtualinherited |
Definition at line 76 of file database.h.
|
overridevirtual |
Reimplemented from Botan::SQL_Database.
Definition at line 72 of file sqlite3.cpp.
|
overridevirtual |
Implements Botan::SQL_Database.
Definition at line 39 of file sqlite3.cpp.
Referenced by row_count().
|
overridevirtual |
Implements Botan::SQL_Database.
Definition at line 43 of file sqlite3.cpp.
References Botan::fmt(), and new_statement().
|
overridevirtual |
Implements Botan::SQL_Database.
Definition at line 66 of file sqlite3.cpp.
References BOTAN_ASSERT_NOMSG.