struct Redis::Graph::TypedResult(T)

Included Modules

Defined in:

graph.cr

Instance Method Summary

Instance Method Detail

def cached_execution? : Bool #

Indicates whether the query was cached by RedisGraph


[View source]
def duration : Time::Span #

How long it took RedisGraph to execute the query on the server side.


[View source]
def each(&) #

Iterate over each of the results, yielding a tuple containing instances of the types in T.


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

The names of the fields in a query's RETURN clause


[View source]
def labels_added : Int64 #

How many labels were added in this query


[View source]
def nodes_created : Int64 #

How many nodes were created in this query


[View source]
def properties_set : Int64 #

How many properties were set in this query


[View source]
def relationships_created : Int64 #

How many relationships were created in this query


[View source]
def rows : Array(T) #

The values of the fields in a query's RETURN clause


[View source]