Inherits from: Function
Executes a Cypher statement on an OpenCypher-powered database and returns its results.
Deprecated. Use Query instead.
|Key||Description||Default value||Possible values|
||The Cypher statement that has to be executed.||any valid Cypher|
||Parameters that are to be passed to the Cypher statement.||a literal value|
||Determines whether the query result should be processed to a set of nodes and relations.||false||
||The graph store against which the cypher statement is to be executed.||application||name of a configured store|
All properties can also be passed as parameters via an incoming trigger. To do so, include a property key on the incoming trigger with a
# as a prefix.
Occurrence: When the CypherQuery function executes successfully,.
Additional event properties (besides the inherited properties):
||array of data as it is returned by store||array|
||array of columns returned in result||array of strings|
||memory used in bytes||integer|
||count of nodes returned||integer|
||parameters and values used in the cypher query||object|
||status of processData flag||integer|
||count of relations returned||integer|
||true if Cypher executed successfully||boolean|
||store against which the Cypher was executed||string|
||Store query stats||object|
||timing of query in ms||object|
||Time to retrieve data from store||integer|
||Time to process data into
||Total time to retrieve and process data||integer|
||data after processing in case
||all node labels in the results||array of strings|
||all nodes in the result||array of nodes|
||all relationships in the result||array of relations|
||all relation types||array of strings|
||number of nodes /relations not being transferred to client||integer|
Imagine the following interaction graph:
When you run this example, the MyQuery1 returns a list of labels and counts in MyTable1. When you click on a row with a
count < 5, it displays the nodes in MyNetworkView. Otherwise, a list of names is displayed in MyTable2.
IA_CypherQuery node MyQuery1, has a
type:success trigger that tp the
IA_TableView node MyTable1. The trigger maps the
(%).data element of the event data of the
success event to the
#data property of MyTable1.
MyTable1 has a
type:rowClick trigger to a
IA_CypherQuery MyQuery2. This tigger maps the
(%).data.label element of the event data of the
rowclick event to the
$params.selectedLabel property of MyQuery2.
$params.selectedLabel as parameter for the statement in the
When MyQuery2 executes successfully, the
success event occurs. To determine which triggers should be executed, the matching criteria on the outgoing
[:TRIGGER] relations are considered:
One trigger executes when
(%).data.destination:NetworkView . This trigger maps
(%).processed.relations to the
relations properties of the
The other trigger executes when
(%).data.destination:TableView . This trigger maps
#data property of the