flocon_database

Browse and query the SQLite databases of your app (sqflite, Drift, plain SQLite files) from the Flocon desktop debugger, and see the queries it runs.

Installation

There is no release on pub.dev yet, depend on the repository:

dependencies:
  flocon:
    git:
      url: https://github.com/openflocon/FloconFlutter.git
      path: packages/flocon
  flocon_database:
    git:
      url: https://github.com/openflocon/FloconFlutter.git
      path: packages/flocon_database

Usage

import 'package:flocon_database/flocon_database.dart';

// the databases, documents and application support folders
await startFlocon((flocon) => flocon..install(FloconDatabase()));
Flocon.database.register('Shared', '/path/to/shared.sqlite');
Flocon.database.logQuery(path, statement, args); // from the hook of your database library

See the full documentation and the example.

License

MIT, see LICENSE.

Libraries

flocon_database
Browse and query the SQLite databases of the app from the Flocon desktop app.