[#wallet-SQliteExecHandler-Exec]
= xref:wallet.adoc[wallet]::xref:wallet/SQliteExecHandler.adoc[SQliteExecHandler]::Exec
:relfileprefix: ../../
:mrdocs:

Execute a SQL statement against a database&period;

== Synopsis

Declared in `&lt;wallet&sol;sqlite&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
int
Exec(
    xref:wallet/SQLiteDatabase.adoc[SQLiteDatabase]& database,
    std::string const& statement);
----

== Return Value

The SQLite result code from executing the statement&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *database*
| The database to execute the statement on&period;
| *statement*
| The SQL statement to execute&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
