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

Fetch all edges related to a specific vertice. #2316

Closed
Braingearceo opened this issue Oct 25, 2023 · 5 comments
Closed

Fetch all edges related to a specific vertice. #2316

Braingearceo opened this issue Oct 25, 2023 · 5 comments
Labels
question Type: question about the product

Comments

@Braingearceo
Copy link

Question

This repository is ONLY used to solve issues related to DOCS.

Before submitting your question, make sure you have:

  • Searched existing Stack Overflow questions.
  • Googled your question.
  • Searched the open and closed GitHub issues.
  • Searched our Forum.
  • Read the documentation:

Now, please describe your question here:

Is there a way to retrieve all edges related to a specific vertice? I can't find a way to do that in the documentation.
Something that should look like
"FETCH PROP ON * "Kevin" -> * YIELD edge AS e;"
and the same for a specific edge type. (Inspired_By in that case)
"FETCH PROP ON Inspired_By "Kevin" -> * YIELD edge AS e;"

Thank you in advance.

@wey-gu
Copy link
Contributor

wey-gu commented Oct 26, 2023

Please use GO :)

GO FROM "player102" OVER * BIDIRECT YIELD edge AS e

refs

@abby-cyber
Copy link
Contributor

Thank you for the feedback, we will supplement with more examples.

@wey-gu
Copy link
Contributor

wey-gu commented Oct 26, 2023

Thank you for the feedback, we will supplement with more examples.

It seems we could have a short enough but clear chapter to enable fresh users to know which clause to use in certain typical graph query patterns :) like https://www.siwei.io/ngql-tutorial/

@abby-cyber
Copy link
Contributor

abby-cyber commented Oct 26, 2023

Thank you for the feedback, we will supplement with more examples.

It seems we could have a short enough but clear chapter to enable fresh users to know which clause to use in certain typical graph query patterns :) like https://www.siwei.io/ngql-tutorial/

Scheduled as planned. It will be so nice if you can supplement with that :) 💯.

@wey-gu
Copy link
Contributor

wey-gu commented Oct 26, 2023

I can provide a starting draft pr🫡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Type: question about the product
Projects
None yet
Development

No branches or pull requests

4 participants