Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.