connectSqliteDb method
Connects to SQLite using the connection string from the configuration.
Implementation
Future<void> connectSqliteDb() async {
if (config.sqliteConfig.enable) {
try {
_sqliteDb = sqlite3.open(config.sqliteConfig.filePath);
} catch (e) {
Console.e("Error connecting to SQLite: $e");
_sqliteDb = null;
}
}
}