kiddouk / redisco

A Python Library for Simple Models and Containers Persisted in Redis
MIT License
438 stars 78 forks source link

Clean up after all objects have been removed from. #41

Closed IAlwaysBeCoding closed 9 years ago

IAlwaysBeCoding commented 9 years ago

Checks redis after each deletion if there isn't a {ModelName}:all, which will indicate that there aren't any more objects . However,{ModelName}:id will still have an object count, this needs to be removed so when new objects are added the count is reset .