API ReferenceKeys
InvalidatePrefix
Delete all keys matching a prefix pattern
Syntax
Redix.InvalidatePrefix(prefix, callback)Parameters
Prop
Type
Returns
Prop
Type
Example
-- Delete all player keys
Redix.InvalidatePrefix('player', function(err, count)
if not err then
print('Deleted ' .. count .. ' player keys')
end
end)