Type to use for document data. Defaults to any
.
A EdgeCollection instance for this edge collection.
Name of the collection.
Retrieves the edge matching the given key or id.
Throws an exception when passed a edge or _id
from a different
collection, or if the edge does not exist.
Document _key
, _id
or object with either of those
properties (e.g. a edge from this collection).
Options for retrieving the edge.
Retrieves the edge matching the given key or id.
Throws an exception when passed a edge or _id
from a different
collection, or if the edge does not exist.
Document _key
, _id
or object with either of those
properties (e.g. a edge from this collection).
If set to true
, null
is returned instead of an
exception being thrown if the edge does not exist.
Checks whether a edge matching the given key or id exists in this collection.
Throws an exception when passed a edge or _id
from a different
collection.
Document _key
, _id
or object with either of those
properties (e.g. a edge from this collection).
Removes an existing edge from the collection.
Throws an exception when passed a edge or _id
from a different
collection.
Document _key
, _id
or object with either of those
properties (e.g. a edge from this collection).
Options for removing the edge.
Replaces an existing edge in the collection.
Throws an exception when passed a edge or _id
from a different
collection.
Document _key
, _id
or object with either of those
properties (e.g. a edge from this collection).
Options for replacing the edge.
Inserts a new edge with the given data
into the collection.
The contents of the new edge.
Options for inserting the edge.
Updates an existing edge in the collection.
Throws an exception when passed a edge or _id
from a different
collection.
Document _key
, _id
or object with either of those
properties (e.g. a edge from this collection).
Options for updating the edge.
Generated using TypeDoc
Represents a EdgeCollection of edges in a Graph.