Just a matter to select the wanted driver. API is the same.
SQL_SetAffinity("sqlite") or
SQL_SetAffinity("mysql")
Now about autoloading module, depending what you want to do.
If you want to load only sqlite module, you need to do:
Code:
#pragma defclasslib sqlx sqlite
#include <sqlx>
if you want to load both module mysql and sqlite, so to change driver anytime, then:
Code:
#include "sqlx"
#pragma defclasslib sqlite sqlite
__________________