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"
GraphEdgeCollection
Class GraphEdgeCollection<T>
TODO
Type parameters
T
:
object
Hierarchy
GraphEdgeCollection
Implements
ArangoCollection
Index
Accessors
collection
graph
is
Arango
Collection
name
Methods
edge
edge
Exists
remove
replace
save
update
Accessors
collection
get
collection
(
)
:
EdgeCollection
<
T
>
TODO
Returns
EdgeCollection
<
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
edge
edge
(
selector
:
DocumentSelector
, options
?:
GraphCollectionReadOptions
)
:
Promise
<
Edge
<
T
>
>
edge
(
selector
:
DocumentSelector
, graceful
:
boolean
)
:
Promise
<
Edge
<
T
>
>
TODO
Parameters
selector:
DocumentSelector
Optional
options:
GraphCollectionReadOptions
Returns
Promise
<
Edge
<
T
>
>
TODO
Parameters
selector:
DocumentSelector
graceful:
boolean
Returns
Promise
<
Edge
<
T
>
>
edge
Exists
edge
Exists
(
selector
:
DocumentSelector
)
:
Promise
<
boolean
>
TODO
Parameters
selector:
DocumentSelector
Returns
Promise
<
boolean
>
remove
remove
(
selector
:
DocumentSelector
, options
?:
GraphCollectionRemoveOptions
)
:
Promise
<
DocumentMetadata
&
{
old
?:
Edge
<
T
>
}
>
TODO
Parameters
selector:
DocumentSelector
Optional
options:
GraphCollectionRemoveOptions
Returns
Promise
<
DocumentMetadata
&
{
old
?:
Edge
<
T
>
}
>
replace
replace
(
selector
:
DocumentSelector
, newValue
:
EdgeData
<
T
>
, options
?:
GraphCollectionReplaceOptions
)
:
Promise
<
DocumentMetadata
&
{
new
?:
Edge
<
T
>
;
old
?:
Edge
<
T
>
}
>
TODO
Parameters
selector:
DocumentSelector
newValue:
EdgeData
<
T
>
Optional
options:
GraphCollectionReplaceOptions
Returns
Promise
<
DocumentMetadata
&
{
new
?:
Edge
<
T
>
;
old
?:
Edge
<
T
>
}
>
save
save
(
data
:
EdgeData
<
T
>
, options
?:
GraphCollectionInsertOptions
)
:
Promise
<
DocumentMetadata
&
{
new
?:
Edge
<
T
>
}
>
TODO
Parameters
data:
EdgeData
<
T
>
Optional
options:
GraphCollectionInsertOptions
Returns
Promise
<
DocumentMetadata
&
{
new
?:
Edge
<
T
>
}
>
update
update
(
selector
:
DocumentSelector
, newValue
:
Patch
<
EdgeData
<
T
>
>
, options
?:
GraphCollectionReplaceOptions
)
:
Promise
<
DocumentMetadata
&
{
new
?:
Edge
<
T
>
;
old
?:
Edge
<
T
>
}
>
TODO
Parameters
selector:
DocumentSelector
newValue:
Patch
<
EdgeData
<
T
>
>
Optional
options:
GraphCollectionReplaceOptions
Returns
Promise
<
DocumentMetadata
&
{
new
?:
Edge
<
T
>
;
old
?:
Edge
<
T
>
}
>
Globals
"analyzer"
"aql"
"collection"
"connection"
"cursor"
"database"
"documents"
"error"
"graph"
"index"
"indexes"
"route"
"transaction"
"util/codes"
"util/types"
"view"
Graph
Graph
Edge
Collection
collection
graph
is
Arango
Collection
name
edge
edge
Exists
remove
replace
save
update
Graph
Vertex
Collection
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