Sqlite database connection. More...
#include <sqlite_connection.h>
Inheritance diagram for clan::SqliteConnection:Public Member Functions | |
Construction | |
| SqliteConnection (const std::string &db_filename) | |
| Constructs a SqliteConnection. More... | |
| ~SqliteConnection () | |
Public Member Functions inherited from clan::DBConnection | |
| DBConnection () | |
| Constructs a database connection. More... | |
| DBConnection (DBConnectionProvider *provider) | |
| Constructs a DBConnection. More... | |
| ~DBConnection () | |
| DBCommand | create_command (const std::string &text, DBCommand::Type type=DBCommand::sql_statement) |
| Create database command. More... | |
| template<class Arg1 > | |
| DBCommand | create_command (const std::string &format, Arg1 arg1, DBCommand::Type type=DBCommand::sql_statement) |
| Create database command with 1 input argument. More... | |
| template<class Arg1 , class Arg2 > | |
| DBCommand | create_command (const std::string &format, Arg1 arg1, Arg2 arg2, DBCommand::Type type=DBCommand::sql_statement) |
| Create database command with 2 input arguments. More... | |
| template<class Arg1 , class Arg2 , class Arg3 > | |
| DBCommand | create_command (const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, DBCommand::Type type=DBCommand::sql_statement) |
| Create database command with 3 input arguments. More... | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 > | |
| DBCommand | create_command (const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, DBCommand::Type type=DBCommand::sql_statement) |
| Create database command with 4 input arguments. More... | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 > | |
| DBCommand | create_command (const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, DBCommand::Type type=DBCommand::sql_statement) |
| Create database command with 5 input arguments. More... | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 > | |
| DBCommand | create_command (const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, DBCommand::Type type=DBCommand::sql_statement) |
| Create database command with 6 input arguments. More... | |
| template<class Arg1 , class Arg2 , class Arg3 , class Arg4 , class Arg5 , class Arg6 , class Arg7 > | |
| DBCommand | create_command (const std::string &format, Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5, Arg6 arg6, Arg7 arg7, DBCommand::Type type=DBCommand::sql_statement) |
| Create database command with 7 input arguments. More... | |
| DBTransaction | begin_transaction (DBTransaction::Type type=DBTransaction::deferred) |
| Begin a transaction. More... | |
| DBReader | execute_reader (DBCommand &command) |
| Begin execution of database command. More... | |
| std::string | execute_scalar_string (DBCommand &command) |
| Execute database command and returns the first column of the first row. More... | |
| int | execute_scalar_int (DBCommand &command) |
| Execute database command and returns the first column of the first row. More... | |
| void | execute_non_query (DBCommand &command) |
| Execute database command. More... | |
Sqlite database connection.