depository

Creator: coderz1093

Last updated:

0 purchases

depository Image
depository Images

Languages

Categories

Add to Cart

Description:

depository

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;

// ...
}
copied to clipboard
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"');
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.