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

Name

Description

database

The database to execute the statement on.

statement

The SQL statement to execute.

Created with MrDocs