drift_local_storage_inspector 0.7.0 drift_local_storage_inspector: ^0.7.0 copied to clipboard
A SQL local storage inspector implementation that exposes drift databases
SQL file storage inspector for drift databases #
Inspector server interface for drift databases.
Allows for SQL inspection of drift databases with the local storage inspector package and associated IntelliJ plugin
Example #
final driver = StorageServerDriver(
bundleId: 'com.example.test',
icon: '<some icon>',
);
final db = NativeDatabase.memory();
final driftDb = MyDatabase(db);
final sqlServer = DriftSQLDatabaseServer(
id: "1",
name: "SQL server",
database: driftDb,
);
driver.addSQLServer(sqlServer);
await driver.start(paused: false);