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);