Class Traversal
Provides graph traversal
A Traversal object is used to execute a graph traversal on the server side.
The object requires the connection object, the startVertex, the edgeCollection and the optional parameters.
Namespace: triagens\ArangoDb
Package: triagens\ArangoDb
Since: 1.4
Link: https://docs.arangodb.com/HTTP/Traversal/index.html
Located at Traversal.php
Package: triagens\ArangoDb
Since: 1.4
Link: https://docs.arangodb.com/HTTP/Traversal/index.html
Located at Traversal.php
Methods summary
public
|
#
__construct(
Initialise the Traversal object |
public
array
|
|
protected
|
|
public
|
#
setStartVertex( string $value )
Set name of the user function. It must have at least one namespace, but also can have sub-namespaces. correct: 'myNamespace:myFunction' 'myRootNamespace:mySubNamespace:myFunction' |
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
public
mixed
|
|
public
mixed
|
|
public
boolean
|
|
public
string
|
Constants summary
string |
OPTION_FIELDS
count fields |
#
'fields'
|
string |
ENTRY_STARTVERTEX
Collections index |
#
'startVertex'
|
string |
ENTRY_EDGECOLLECTION
Action index |
#
'edgeCollection'
|
Properties summary
protected
array
|
$attributes
The traversal's attributes. |
#
[]
|
protected
|
$_action
string The action property of the traversal. |