NAME

FalkorDB::Edge - Representation of a graph relationship/edge in FalkorDB

DESCRIPTION

Represents a relationship (edge) between two nodes retrieved from the graph database.

METHODS

id()

Returns the internal ID of the relationship.

type()

Returns the relationship type name (e.g. 'knows').

src_node()

Returns the internal ID of the source node of the relationship.

dest_node()

Returns the internal ID of the destination node of the relationship.

properties()

Returns a hash reference of all properties on the relationship.

property($name)

Returns the value of a specific property by name.