[#wallet-SQliteExecHandler-Exec] = xref:wallet.adoc[wallet]::xref:wallet/SQliteExecHandler.adoc[SQliteExecHandler]::Exec :relfileprefix: ../../ :mrdocs: Execute a SQL statement against a database. == Synopsis Declared in `<wallet/sqlite.h>` [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. == Parameters [cols="1,4"] |=== | Name| Description | *database* | The database to execute the statement on. | *statement* | The SQL statement to execute. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#