AbsDatabase class abstract

Implementers

Constructors

AbsDatabase()

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

createData(String collectionId, String mid, Map data) Future<void>
createModel(String collectionId, AbsExModel model) Future<void>
getAllData(String collectionId) Future<List>
getData(String collectionId, String mid) Future<Map<String, dynamic>>
initialize() Future<void>
isNameExist(String collectionId, {required String value}) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryData(String collectionId, {required Map<String, dynamic> where, required String orderBy, bool descending = true, int? limit, int? offset, List<Object?>? startAfter}) Future<List>
queryPage(String collectionId, {required Map<String, QueryValue> where, required Map<String, OrderDirection> orderBy, int? limit, int? offset, List<Object?>? startAfter}) Future<List>
removeData(String collectionId, String mid) Future<void>
removeModel(String collectionId, String mid) Future<void>
setData(String collectionId, String mid, Map data) Future<void>
setModel(String collectionId, AbsExModel model, {bool dontRealTime = false}) Future<void>
simpleQueryData(String collectionId, {required String name, required String value, required String orderBy, bool descending = true, int? limit, int? offset}) Future<List>
toString() String
A string representation of this object.
inherited
updateData(String collectionId, String mid, Map data) Future<void>

Operators

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

Static Properties

fbDBApp → FirebaseApp?
no setter

Static Methods

setFirebaseApp(FirebaseApp fb) → void