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