struct Redis::Graph::Node
- Redis::Graph::Node
- Struct
- Value
- Object
Overview
Represents a node in the graph.
result = graph.read_query(<<-CYPHER)
MATCH (u:User)
RETURN u
CYPHER
result.each do |(user)|
user = user.as(Redis::Graph::Node)
# ...
end
Defined in:
graph/node.crClass Method Summary
- .from_redis_graph_value(type : ValueType, value, cache : Cache)
- .matches_redis_graph_type?(type : Redis::Graph::ValueType) : Bool