eloquent_flutter 0.1.0
eloquent_flutter: ^0.1.0 copied to clipboard
Laravel Eloquent-style ORM for Flutter and Dart, built on top of Drift. Provides Model, QueryBuilder, relationships (hasMany, belongsTo, hasOne, belongsToMany), eager loading, observers, pagination, a [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add eloquent_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
eloquent_flutter: ^0.1.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:eloquent_flutter/eloquent_flutter.dart';