Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add HEXPIRE Command #1898

Open
dwprz opened this issue Jun 20, 2024 · 0 comments
Open

Feature Request: Add HEXPIRE Command #1898

dwprz opened this issue Jun 20, 2024 · 0 comments

Comments

@dwprz
Copy link

dwprz commented Jun 20, 2024

I would like to request the addition of a HEXPIPRE command to the ioredis library. The HEXPIPRE command would allow users to set an expiration time on individual fields within a hash, similar to how the EXPIRE command sets an expiration time on keys. This feature would be particularly useful for scenarios where certain fields within a hash need to expire independently of the hash itself.

Consider an order management system where each user's orders are stored as a hash with multiple fields representing different orders. Each order needs to have its own expiration time to ensure that old or unfulfilled orders are automatically removed after a certain period. The HEXPIPRE command would allow us to set an expiration time on each order field without affecting other orders or the main hash.

@dwprz dwprz changed the title Title: Feature Request: Add HEXPIRE Command Feature Request: Add HEXPIRE Command Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant