simple_orm 1.0.1 copy "simple_orm: ^1.0.1" to clipboard
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_orm

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  simple_orm: ^1.0.1

Alternatively, 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';
1
likes
105
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

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 to upgrade the database version when the table structure changes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, simple_orm_annotation, sqflite

More

Packages that depend on simple_orm