|
Darwin Neuroevolution Framework
|
A very simple relational database abstraction on top of Sqlite. More...
#include <database.h>
Public Member Functions | |
| Connection (const string &filename, OpenMode open_mode, int busy_wait_ms=500) | |
| Opens a Sqlite connection. | |
| void | beginTransaction (TransactionOption option=TransactionOption::Deferred) |
| Starts a transaction. | |
| void | commit () |
| Commits the current transaction. | |
| void | rollback () |
| Aborts the current transaction. | |
| RowId | lastInsertRowId () const |
| Returns the ID of the last inserted row with this connection. | |
| template<class... RESULTS, class... PARAMS> | |
| ResultSet< RESULTS... > | exec (const string &sql_statement, PARAMS &&... params) |
| Executes the specified Sqlite statement and returns the results as a ResultSet. More... | |
A very simple relational database abstraction on top of Sqlite.
|
inline |
1.8.14