openReadOnlyDatabaseWithSentry function
Opens a database with Sentry support.
import 'package:sqflite/sqflite.dart';
import 'package:sentry_sqflite/sentry_sqflite.dart';
final database = await openReadOnlyDatabaseWithSentry('path/to/db');
Implementation
Future<Database> openReadOnlyDatabaseWithSentry(
String path, {
@internal Hub? hub,
}) {
return openDatabaseWithSentry(path, readOnly: true, hub: hub);
}