Collection class

Constructors

Collection({required String name, required String id, required bool isSystem, required int type, required int status, required String globallyUniqueId, required ArangoClient client})

Properties

client ArangoClient
getter/setter pair
globallyUniqueId String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isSystem bool
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
final
type int
final

Methods

checksum() Future<Map<String, dynamic>?>
Returns a checksum for the specified collection
count() Future<Map<String, dynamic>?>
Count document of the collection
document({String? document_handle}) Document
Return a document of the collection
drop() Future<Map<String, dynamic>?>
Drop a collection
figures() Future<Map<String, dynamic>?>
Fetch the statistics of a collection
info() Future<String>
Returns info of the collection
load() Future<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}) Future<Map<String, dynamic>?>
Returns properties of a collection
recalculateCount() Future<Map<String, dynamic>?>
rename(String new_name) Future<Map<String, dynamic>?>
Rename a collection
responsibleShard() Future<Map<String, dynamic>?>
Return the responsible shard for a document
revision() Future<Map<String, dynamic>?>
Retrieve the collections revision id
rotate() Future<Map<String, dynamic>?>
Rotate a collection
shards() Future<Map<String, dynamic>?>
Return the shard ids of a collection
toString() String
A string representation of this object.
inherited
truncate() Future<Map<String, dynamic>?>
Truncate a collection
unload() Future<Map<String, dynamic>?>
Unloads a collection

Operators

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