simple_orm 1.0.1
simple_orm: ^1.0.1 copied to clipboard
This project is a simple version of ORM implemented based on sqflite. The advantage is that it supports adding table fields without updating the database version, which solves the problem of needing t [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add simple_ormThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
simple_orm: ^1.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:simple_orm/base_dao.dart';