execute method
Implementation
Future<void> execute(String sql, [List<dynamic>? parameters]) async {
if (_db == null) {
throw const FlutterSqliteException('Database not open');
}
try {
js_util.callMethod(_db, 'exec', [sql, parameters ?? []]);
} catch (e) {
throw FlutterSqliteException('Failed to execute statement: $e');
}
}