Ask Your Question
4

What is the method to retrieve every edge in Apache AGE?

asked 2021-09-17 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-10-05 08:00:00 +0000

devzero gravatar image

To retrieve every edge in Apache AGE, you can use the following Cypher query:

MATCH ()-[e]->() RETURN e

This will return all the edges in the graph, regardless of their type or properties. If you want to filter the results to only include certain types of edges or edges with specific properties, you can add additional clauses to the query. For example:

MATCH ()-[e:FRIENDS]->() WHERE e.since >= 2020 RETURN e

This query will only return edges of type "FRIENDS" that have a "since" property greater than or equal to 2020.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-09-17 11:00:00 +0000

Seen: 17 times

Last updated: Oct 05 '21