Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter the subtree where the leaves node are located #8867

Closed
ASXHOLE opened this issue May 9, 2019 · 0 comments
Closed

Filter the subtree where the leaves node are located #8867

ASXHOLE opened this issue May 9, 2019 · 0 comments
Assignees
Labels

Comments

@ASXHOLE
Copy link

ASXHOLE commented May 9, 2019

OrientDB Version: 3.0.18

Java Version: JDK 1.8

OS: centos 7

Expected behavior

My graph like this:
before

now i want to filter out two nodes ( #70:0 and #72:0 ) and their subtree ,like this:
image

How do I write a query using the MATCH statement ?
eg:
match {class:PATIENT,where:(@Rid = #34:2)}
........
.......
RETURN $pathelements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants