We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1c4a03 commit 5123f49Copy full SHA for 5123f49
lib/redisgraph/query_result.rb
@@ -83,6 +83,12 @@ def map_scalar(type, val)
83
# the following _should_ work
84
# when 6 # array
85
# val.map { |it| map_scalar(it[0], it[1]) }
86
+ when 7 # relation
87
+ props = val[4]
88
+ return props.sort_by { |prop| prop[0] }.map { |prop| map_prop(prop) }
89
+ when 8 # node
90
+ props = val[2]
91
92
end
93
val.send(map_func)
94
0 commit comments