DatabaseManager class

The database manager allows you manage your applications database. With DatabaseManager you can create new objects in your data model, update or delete existing ones, run queries and paginate over large data sets.

Inheritance

Constructors

DatabaseManager(Fetcher fetcher)
Creates an instance of DatabaseManager to manage data of your application. _fetcher The http client to make RESTful API calls to the application's execution engine.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getStats() Future<APIResponse<List>>
Returns the overall information about your apps database and its models.
model(String name) QueryBuilder
Creates a new QueryBuilder for the specified model.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited