#include <sqlite3xx.hpp>
Inheritance diagram for Sqlite3Context:

Public Member Functions | |
| Sqlite3Context (const string &dbName="") | |
| Constructor. | |
| ~Sqlite3Context () | |
| Destructor. | |
| void | close () |
| Close connection. | |
| string | escapeString (const string &original) const |
| string | version () const |
| Version information. | |
Friends | |
| SqlResult | SqlQuery::operator() (const string &) |
Definition at line 36 of file sqlite3xx.hpp.
| Sqlite3Context::Sqlite3Context | ( | const string & | dbName = "" |
) |
Constructor.
Used to create a connection to a SQLite3 database. Example:
SqlDatabase *db = new Sqlite3Context( "test.db" );
| dbName | The path and filename of the database file. |
Definition at line 33 of file sqlite3xx.cpp.
| Sqlite3Context::~Sqlite3Context | ( | ) |
| void Sqlite3Context::close | ( | ) | [virtual] |
Close connection.
This will close and clean up the database connection, including freeing memory. Note: It does not delete the SqlDatabase object itself.
Implements SqlDatabase.
Definition at line 55 of file sqlite3xx.cpp.
Referenced by ~Sqlite3Context().
| string Sqlite3Context::escapeString | ( | const string & | original | ) | const |
Definition at line 64 of file sqlite3xx.cpp.
| string Sqlite3Context::version | ( | ) | const [virtual] |
Version information.
Get the version information of the underlying API library, not the version of SqlWrapperXX.
Implements SqlDatabase.
Definition at line 78 of file sqlite3xx.cpp.
| SqlResult SqlQuery::operator() | ( | const string & | ) | [friend] |
1.5.0