Definition of a relation in a Graph.
Name of the collection containing the edges.
Array of names of collections containing the start vertices.
Array of names of collections containing the end vertices.
An edge definition used to define a collection of edges in a Graph.
Collection containing the edges.
Collection or collections containing the start vertices.
Collection or collections containing the end vertices.
Options for inserting a document into a graph collection.
If set to true
, the complete new document will be returned as the new
property on the result object.
Default: false
If set to true
, data will be synchronized to disk before returning.
Default: false
Options for retrieving a document from a graph collection.
If set to true
, the request will explicitly permit ArangoDB to return a
potentially dirty or stale result and arangojs will load balance the
request without distinguishing between leaders and followers.
Default: false
If set to true
, null
is returned instead of an exception being thrown
if the document does not exist.
Default: false
If set to a document revision, the document will only be returned if its
_rev
property matches this value.
See also DocumentMetadata.
Options for removing a document from a graph collection.
If set to true
, the complete old document will be returned as the old
property on the result object.
Default: false
If set to a document revision, the document will only be removed if its
_rev
property matches this value.
See also DocumentMetadata.
If set to true
, data will be synchronized to disk before returning.
Default: false
Options for replacing a document in a graph collection.
If set to false
, properties with a value of null
will be removed from
the new document.
Default: true
If set to true
, the complete new document will be returned as the new
property on the result object.
Default: false
If set to true
, the complete old document will be returned as the old
property on the result object.
Default: false
If set to a document revision, the document will only be modified if its
_rev
property matches this value.
See also DocumentMetadata.
If set to true
, data will be synchronized to disk before returning.
Default: false
Option for creating a graph.
(Enterprise Edition cluster only.) If set to true
, the graph will be
created as a Disjoint SmartGraph.
Default: false
(Enterprise Edition cluster only.) If set to true
, the graph will be
created as a SmartGraph.
Default: false
(Cluster only.) Write concern for new collections in the graph.
Has no effect when replicationFactor
is set to "satellite"
.
(Cluster only.) Number of shards that is used for every collection within this graph.
Has no effect when replicationFactor
is set to "satellite"
.
Additional vertex collections. Documents within these collections do not have edges within this graph.
(Cluster only.) Replication factor used when initially creating collections for this graph.
Default: 1
(Enterprise Edition cluster only.) Attribute containing the shard key value to use for smart sharding.
Note: isSmart
must be set to true
.
If set to true
, the request will wait until all modifications have been
synchronized to disk before returning successfully.
Default: false
(Cluster only.) Write concern for new collections in the graph.
Has no effect when replicationFactor
is set to "satellite"
.
General information about a graph.
Unique identifier of the document internally representing this graph.
See DocumentMetadata.
Key of the document internally representing this graph.
See DocumentMetadata.
Revision of the document internally representing this graph.
See DocumentMetadata.
Definitions for the relations of the graph.
(Enterprise Edition cluster only.) If set to true
, the graph has been
created as a Disjoint SmartGraph.
(Enterprise Edition cluster only.) If set to true
, the graph is a
SatelliteGraph.
(Enterprise Edition cluster only.) If set to true
, the graph has been
created as a SmartGraph.
(Cluster only.) Write concern for new collections in the graph.
Name of the graph.
(Cluster only.) Number of shards that is used for every collection within this graph.
Additional vertex collections. Documents within these collections do not have edges within this graph.
(Cluster only.) Replication factor used when initially creating collections for this graph.
(Enterprise Edition cluster only.) Attribute containing the shard key value to use for smart sharding.
(Cluster only.) Write concern for new collections in the graph.
Generated using TypeDoc
The "graph" module provides graph related types and interfaces for TypeScript.