Added missing test file

This commit is contained in:
Luca Frosini 2024-11-06 14:57:32 +01:00
parent 0ead00f884
commit 8110a24257
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
SELECT EXPAND(ret) FROM (
MATCH
{class: ConsistsOf, as: consistsof0, where: ($currentMatch['@class'] INSTANCEOF 'ConsistsOf')}
.inV('CPUFacet') { as: cpufacet00, where: ($currentMatch['@class'] INSTANCEOF 'CPUFacet')}
.inE('ConsistsOf') { where: ($matched.consistsof0 == $currentMatch)}
.outV('HostingNode') { as: hostingnode01, where: (($currentMatch['@class'] INSTANCEOF 'HostingNode') AND (id = "34498fb5-e184-473b-ad2f-08f7ab1afd35"))}
.outE('ConsistsOf') { where: ($matched.consistsof0 == $currentMatch)}
RETURN
DISTINCT(consistsof0) as ret
)