Struct SQLStatement

Struct Documentation

struct SQLStatement

Wrapper for sqlite3_stmt which stores the last command issued and the pointer to the statement object.

Public Functions


Default constructor.

int step()

Steps the transaction forwards one step.

Waits 10 seconds for locks to be released before raising an error if there are problems.
the result code of the transaction step

void clearAndReset()

Destroys the previous bindings and resets the statement.

Public Members

std::string last_command
sqlite3_stmt *stmt