struct Redis::Graph::Node

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.cr

Instance Method Summary

Instance Method Detail

def id : Int64 #

[View source]
def labels : Array(String) #

[View source]
def properties : Hash(String, Property) #

[View source]