ArangoDatabase class

Constructors

ArangoDatabase(String url)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

beginTransaction({List<String> exclusive, List<String> write, List<String> read, bool allowImplicit, int lockTimeout, int maxTransactionSize, bool waitForSync}) Future<ArangoTransaction>
collection(String collectionName) ArangoDocumentCollection
collections({bool excludeSystem = true}) Future<List<ArangoCollection>>
createDatabase(String databaseName, [List<CreateDatabaseUser> users]) Future<void>
current() Future<Map<String, dynamic>>
dropDatabase(String databaseName) Future<void>
edgeCollection(String collectionName) ArangoEdgeCollection
executeTransaction({List<String> exclusive, List<String> write, List<String> read, String action, dynamic params, bool allowImplicit, int lockTimeout, int maxTransactionSize, bool waitForSync}) Future
exists() Future<bool>
listCollections({bool excludeSystem = true}) Future<List<Map<String, dynamic>>>
listDatabases() Future<List<String>>
listTransactions() Future<List<Map<String, dynamic>>>
listUserDatabases() Future<List<String>>
login([String username = 'root', String password = '']) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
query() ArangoQuery
rawQuery(String aql, {Map<String, dynamic> bindVars, bool allowDirtyRead, Duration timeout, bool returnCount = false, int batchSize, int ttl, bool cache, int memoryLimit, Map<String, dynamic> options}) Future<ArangoCursor>
toString() String
A string representation of this object. [...]
inherited
transactions() Future<List<ArangoTransaction>>
truncate({bool excludeSystem = true}) Future<void>
useBasicAuth(String username, String password) ArangoDatabase
useBearerAuth(String token) ArangoDatabase
useDatabase(String name) ArangoDatabase
version() Future<Map<String, dynamic>>

Operators

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