MCPcopy Create free account
hub / github.com/RedisGraph/redisgraph-go / parseArray

Method parseArray

query_result.go:215–222  ·  view source on GitHub ↗
(cell interface{})

Source from the content-addressed store, hash-verified

213}
214
215func (qr *QueryResult) parseArray(cell interface{}) []interface{} {
216 var array = cell.([]interface{})
217 var arrayLength = len(array)
218 for i := 0; i < arrayLength; i++ {
219 array[i] = qr.parseScalar(array[i].([]interface{}))
220 }
221 return array
222}
223
224func (qr *QueryResult) parsePath(cell interface{}) Path {
225 arrays := cell.([]interface{})

Callers 1

parseScalarMethod · 0.95

Calls 1

parseScalarMethod · 0.95

Tested by

no test coverage detected