struct Redis::Graph::TypedResult(T)
- Redis::Graph::TypedResult(T)
- Struct
- Value
- Object
Included Modules
- Enumerable(T)
Defined in:
graph.crInstance Method Summary
-
#cached_execution? : Bool
Indicates whether the query was cached by RedisGraph
-
#duration : Time::Span
How long it took RedisGraph to execute the query on the server side.
-
#each(&)
Iterate over each of the results, yielding a tuple containing instances of the types in
T
. -
#fields : Array(String)
The names of the fields in a query's
RETURN
clause -
#labels_added : Int64
How many labels were added in this query
-
#nodes_created : Int64
How many nodes were created in this query
-
#properties_set : Int64
How many properties were set in this query
-
#relationships_created : Int64
How many relationships were created in this query
-
#rows : Array(T)
The values of the fields in a query's
RETURN
clause
Instance Method Detail
def each(&)
#
Iterate over each of the results, yielding a tuple containing instances
of the types in T
.