floor2drift 0.1.7 copy "floor2drift: ^0.1.7" to clipboard
floor2drift: ^0.1.7 copied to clipboard

Floor2Drift is dart library to help you migrate from the Floor orm library to Drift.

example/main.dart

// For more information on using floor2drift, please see https://github.com/ViveNoctem/Floor2Drift#getting-started
import 'package:floor2drift/floor2drift.dart';
import 'package:glob/glob.dart';

void main(List<String> arguments) async {
  final generator = Floor2DriftGenerator(
    dbPath: "../test_databases/floor_test_database.dart",
    rootPath: "../",
    classNameFilter: Glob("*task*", caseSensitive: false),
  );

  generator.start();
}
0
likes
60
points
252
downloads

Publisher

unverified uploader

Weekly Downloads

Floor2Drift is dart library to help you migrate from the Floor orm library to Drift.

Repository (GitHub)
View/report issues

Topics

#drift #database #floor #codegen

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, args, build, code_builder, dart_style, floor2drift_annotation, floor_annotation, glob, json_annotation, logging, meta, path, recase, source_gen, source_span, sqlparser

More

Packages that depend on floor2drift