Collection class
Methods
-
checksum()
→ FutureOr<Map<String, dynamic>?>
-
Returns a checksum for the specified collection
-
count()
→ FutureOr<Map<String, dynamic>?>
-
Count document of the collection
-
document({String? document_handle})
→ Document
-
Return a document of the collection
-
drop()
→ FutureOr<Map<String, dynamic>?>
-
Drop a collection
-
figures()
→ FutureOr<Map<String, dynamic>?>
-
Fetch the statistics of a collection
-
info()
→ FutureOr<String>
-
Returns info of the collection
-
load()
→ FutureOr<Map<String, dynamic>?>
-
Loads a collection
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
properties({Map<String, dynamic>? prop})
→ FutureOr<Map<String, dynamic>?>
-
Returns properties of a collection
-
recalculateCount()
→ FutureOr<Map<String, dynamic>?>
-
-
rename(String new_name)
→ FutureOr<Map<String, dynamic>?>
-
Rename a collection
-
responsibleShard()
→ FutureOr<Map<String, dynamic>?>
-
Return the responsible shard for a document
-
revision()
→ FutureOr<Map<String, dynamic>?>
-
Retrieve the collections revision id
-
rotate()
→ FutureOr<Map<String, dynamic>?>
-
Rotate a collection
-
shards()
→ FutureOr<Map<String, dynamic>?>
-
Return the shard ids of a collection
-
toString()
→ String
-
A string representation of this object.
inherited
-
truncate()
→ FutureOr<Map<String, dynamic>?>
-
Truncate a collection
-
unload()
→ FutureOr<Map<String, dynamic>?>
-
Unloads a collection