x2node-drivers-sqlite3
The SQLite Driver for X2Node DBOs.
The driver is passed into the createDBOFactory()
function instead of the database name as a string.
Example:
let dbEngineType = dbEngine;
if (dbEngineType === 'sqlite3') {
dbEngineType = new x2nodeDriversSqlite3();
}
const dboFactory = dbos.createDBOFactory(recordTypes, dbEngineType);