Depository — simple database

Depository is a very simple database system that you can use to have a SQLite database within your app. It depends on the reflectable package and provides a simple system where you describe your data as something like this:

import 'package:depository/depository.dart';

@reflectable
class Person extends Entity {
    @primary
    @text String uuid;

    @text String name;

    @text String family;

    @date DateTime birthday;

    @nullable
    @text String nickname;

    // ...
}

And then it automatically creates a table as "Person" for you, with keys named "uuid" as the PRIMARY KEY.

Also it lets you query data from the database easily:

final results = await Person().queryWhere('name = "Pouya"');