floor2drift 0.1.8 copy "floor2drift: ^0.1.8" to clipboard
floor2drift: ^0.1.8 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/src/base_classes/floor_2_drift_generator.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
39
downloads

Documentation

API reference

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

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