Database class
Properties
-
client
→ Client
-
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createDocument({required String collectionId, required Map data, List? read, List? write, String? parentDocument, String? parentProperty, String? parentPropertyType})
→ Future<Response>
-
Create Document
-
deleteDocument({required String collectionId, required String documentId})
→ Future<Response>
-
Delete Document
-
getDocument({required String collectionId, required String documentId})
→ Future<Response>
-
Get Document
-
listDocuments({required String collectionId, List? filters, int? limit, int? offset, String? orderField, OrderType? orderType, String? orderCast, String? search})
→ Future<Response>
-
List Documents
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateDocument({required String collectionId, required String documentId, required Map data, List? read, List? write})
→ Future<Response>
-
Update Document