SQLite package object

The SQLite package expose a set of wrapper methods to use the SQLite database.

Initialization

In order to make use of sqlite package, two simple steps are required: the first one is to include the package header file on top of your code, then perform an explicit package inside duda_main() function.

Example:

/* Include package header */
#include "packages/sqlite/sqlite.h"

int duda_main()
{
    ...
    duda_load_package(sqlite, "sqlite");
    ...
    return 0;
}

Once the package is loaded, you can use any methods from your callbacks in the following way:

sqlite->method(...)

Methods