depository 0.0.1 copy "depository: ^0.0.1" to clipboard
depository: ^0.0.1 copied to clipboard

A very simple database system for flutter based on

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"');
0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

A very simple database system for flutter based on

Homepage

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

flutter, path, reflectable, sqflite

More

Packages that depend on depository