API ReferenceLists
LLength
Get the length of a list
Syntax
Redix.LLength(key, callback)Parameters
Prop
Type
Returns
Prop
Type
Example
Redix.LLength('queue:tasks', function(err, length)
if not err then
print('Tasks in queue:', length)
if length > 100 then
print('Queue is getting full!')
end
end
end)