API ReferenceJSON
JSONMGet
Get a path from multiple JSON documents
Syntax
Redix.JSONMGet(keys, path, callback)Parameters
Prop
Type
Returns
Prop
Type
Example
Redix.JSONMGet({'character:1', 'character:2', 'character:3'}, '$.level',
function(err, levels)
if not err then
for i, level in ipairs(levels) do
print('Character ' .. i .. ' level:', level)
end
end
end
)