database library

Classes

CrudService<T extends Model>
Typed reads and writes for one collection, mapping documents onto T.
DocumentDto
One document as the database API returns it: the caller's fields under data, with the system fields alongside.
FetchQuery
FindResultDto
A page of documents, with the query that produced it echoed back.
Operator
OrderDirection

Properties

appstraxDb → AppstraxDatabase
The database service. Final, for the reason given on appstraxAuth.
final

Functions

mergeDocumentJson(DocumentDto document) → Map<String, dynamic>
Flattens a document into the shape a Model's fromJson expects.