dimanche 21 février 2016

Using sqlite3.exec() from CppSqlite3U

How can CppSQlite3U be used to execute queries in a similar way to sqlite3_exec(). The purpose of my question is to use CppSQLite3U in one hand but to take advantage of the callback mechanism sqlite3.exec() has?

sqlite3_exec is a function which is part of sqlite3. The sqlite3_exec() interface is a convenience wrapper around [sqlite3_prepare_v2()], [sqlite3_step()], and [sqlite3_finalize()], that allows an application to run multiple statements of SQL without having to use a lot of C code.

CppSQLite3U is a C++ unicode wrapper around the SQLite3 embedded database library and is based on this CodeProject article [^]

Aucun commentaire:

Enregistrer un commentaire