Skip to content

NicolaVerbeeck/drift_local_storage_inspector

Repository files navigation

SQL file storage inspector for drift databases

pub package pub points plugin_badge

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