-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
- Ability to set commands on the model's main hash e.g.
expire,ttl, etc. - The main hash stores the
@strand@numattributes of the model. - We'll need a way to reference it. Options:
User(id).some_string_attribute.expire()- will expire the entire hashUser(id).main.expire()- usemainor another name to access the hashUser(id).expire()- add it directly to the model, thoughexpire()here will only expire the hash and not all the model keys. It's possible for us to expire most of the model keys, but not dynamic keys.User(id).command()- a slightly nicer@_commands.push []
Metadata
Metadata
Assignees
Labels
No labels