moor_inspector 0.1.0 copy "moor_inspector: ^0.1.0" to clipboard
moor_inspector: ^0.1.0 copied to clipboard

discontinuedreplaced by: drift_inspector
outdated

A dart library to enable development time inspection and modification of your moor databases

Moor inspector dart library

Helper library for moor databases, enables the moor inspector intellij plugin to inspect and edit your moor databases during development

Requires the moor inspector plugin from the intellij marketplace to work

Usage #

A simple usage example:

import 'package:moor_inspector/moor_inspector.dart';
import 'moor.dart';

main() async {
  final database = Database(...); //Generated moor database
  
  final moorInspectorBuilder = MoorInspectorBuilder()
      ..bundleId = 'com.example.text'
      ..icon = 'flutter'
      ..addDatabase('example', database);
  final inspector = moorInspectorBuilder.build();
  
  //Start server and announcement server
  await inspector.start();

  //Application code here

  //Optionally shut down server, will stop at end of program anyway
  await inspector.stop();
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

8
likes
0
pub points
59%
popularity

Publisher

verified publisherchimerapps.com

A dart library to enable development time inspection and modification of your moor databases

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

dart_service_announcement, meta, moor, synchronized, uuid

More

Packages that depend on moor_inspector