Search
Preparing search index...
The search index is not available
arangojs - v7.0.0-preview.1
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
"graph"
GraphVertexCollection
Class GraphVertexCollection<T>
TODO
Type parameters
T
:
object
Hierarchy
GraphVertexCollection
Implements
ArangoCollection
Index
Accessors
collection
graph
is
Arango
Collection
name
Methods
remove
replace
save
update
vertex
vertex
Exists
Accessors
collection
get
collection
(
)
:
DocumentCollection
<
T
>
TODO
Returns
DocumentCollection
<
T
>
graph
get
graph
(
)
:
Graph
TODO
Returns
Graph
is
Arango
Collection
get
isArangoCollection
(
)
:
true
internal
Indicates that this object represents an ArangoDB collection.
Returns
true
name
get
name
(
)
:
string
TODO
Returns
string
Methods
remove
remove
(
selector
:
DocumentSelector
, options
?:
GraphCollectionRemoveOptions
)
:
Promise
<
DocumentMetadata
&
{
old
?:
Document
<
T
>
}
>
TODO
Parameters
selector:
DocumentSelector
Optional
options:
GraphCollectionRemoveOptions
Returns
Promise
<
DocumentMetadata
&
{
old
?:
Document
<
T
>
}
>
replace
replace
(
selector
:
DocumentSelector
, newValue
:
DocumentData
<
T
>
, options
?:
GraphCollectionReplaceOptions
)
:
Promise
<
DocumentMetadata
&
{
new
?:
Document
<
T
>
;
old
?:
Document
<
T
>
}
>
TODO
Parameters
selector:
DocumentSelector
newValue:
DocumentData
<
T
>
Optional
options:
GraphCollectionReplaceOptions
Returns
Promise
<
DocumentMetadata
&
{
new
?:
Document
<
T
>
;
old
?:
Document
<
T
>
}
>
save
save
(
data
:
EdgeData
<
T
>
, options
?:
GraphCollectionInsertOptions
)
:
Promise
<
DocumentMetadata
&
{
new
?:
Document
<
T
>
}
>
TODO
Parameters
data:
EdgeData
<
T
>
Optional
options:
GraphCollectionInsertOptions
Returns
Promise
<
DocumentMetadata
&
{
new
?:
Document
<
T
>
}
>
update
update
(
selector
:
DocumentSelector
, newValue
:
Patch
<
DocumentData
<
T
>
>
, options
?:
GraphCollectionReplaceOptions
)
:
Promise
<
DocumentMetadata
&
{
new
?:
Document
<
T
>
;
old
?:
Document
<
T
>
}
>
TODO
Parameters
selector:
DocumentSelector
newValue:
Patch
<
DocumentData
<
T
>
>
Optional
options:
GraphCollectionReplaceOptions
Returns
Promise
<
DocumentMetadata
&
{
new
?:
Document
<
T
>
;
old
?:
Document
<
T
>
}
>
vertex
vertex
(
selector
:
DocumentSelector
, options
?:
GraphCollectionReadOptions
)
:
Promise
<
Document
<
T
>
>
vertex
(
selector
:
DocumentSelector
, graceful
:
boolean
)
:
Promise
<
Document
<
T
>
>
TODO
Parameters
selector:
DocumentSelector
Optional
options:
GraphCollectionReadOptions
Returns
Promise
<
Document
<
T
>
>
TODO
Parameters
selector:
DocumentSelector
graceful:
boolean
Returns
Promise
<
Document
<
T
>
>
vertex
Exists
vertex
Exists
(
selector
:
DocumentSelector
)
:
Promise
<
boolean
>
TODO
Parameters
selector:
DocumentSelector
Returns
Promise
<
boolean
>
Globals
"analyzer"
"aql"
"collection"
"connection"
"cursor"
"database"
"documents"
"error"
"graph"
"index"
"indexes"
"route"
"transaction"
"util/codes"
"util/types"
"view"
Graph
Graph
Edge
Collection
Graph
Vertex
Collection
collection
graph
is
Arango
Collection
name
remove
replace
save
update
vertex
vertex
Exists
Edge
Definition
Graph
Collection
Insert
Options
Graph
Collection
Read
Options
Graph
Collection
Remove
Options
Graph
Collection
Replace
Options
Graph
Create
Options
Graph
Info
Generated using
TypeDoc
TODO