wallet::SQliteExecHandler::Exec

Execute a SQL statement against a database.

Synopsis

Declared in <wallet/sqlite.h>

virtual
int
Exec(
    SQLiteDatabase& database,
    std::string const& statement);

Return Value

The SQLite result code from executing the statement.

Parameters

NameDescription
databaseThe database to execute the statement on.
statementThe SQL statement to execute.