dorm_bloc_database 1.0.0-alpha.7
dorm_bloc_database: ^1.0.0-alpha.7 copied to clipboard
An implementation of a database engine for dORM using bloc and in-memory storage.
dorm_bloc_database #
A dORM's BaseReference and BaseQuery implementation using bloc.
Getting started #
Run the following commands in your command prompt:
dart pub add dorm_bloc_database
Using dorm_annotations and
dorm_generator, generate your dORM code:
dart run build_runner build
This will create a Dorm class, which you can use to connect to this package.
Usage #
Create a Reference:
void main() {
final Reference reference = Reference();
}
Then pass the reference created above to your generated Dorm class:
void main() {
final Dorm dorm = Dorm(reference);
}