FFXDatabase class
The database entry points (14 §4–5).
Constructors
- FFXDatabase(HttpCore _http, {required FFXQueryCache cache, required String? endUserId(), FFXRealtime? realtime})
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
-
aggregate(
String queryName, {Map< String, Object?> parameters = const {}, FFXFetchPolicy fetchPolicy = FFXFetchPolicy.networkOnly}) → Future<FFXAggregateResult> - Runs a named aggregate query and returns its single result row.
-
batch(
List< BatchOperation> operations) → Future<List< BatchResult> > - Executes mutations atomically (all-or-nothing, 14 §4). The backend request and record byte limits bound each batch.
-
collection(
String modelName) → FFXCollection -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
String queryName, {Map< String, Object?> parameters = const {}, int? pageSize, String? pageToken}) → FFXQuery -
A named list query.
parametersmay be omitted for parameterless queries. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited