struct

FalkorDB::Node

Inherits Struct < Value < Object

Represents a node in the graph.

result = graph.read_query(<<-CYPHER)
  MATCH (u:User)
  RETURN u
CYPHER

result.each do |(user)|
  user = user.as(FalkorDB::Node)
  # ...
end

Class methods

from_falkordb_value(type : ValueType, value, cache : Cache)
Source
matches_falkordb_type?(type : FalkorDB::ValueType) : Bool
Source

Instance methods

labels
Source
properties
Source