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] Adding TTL to records #253

Open
MrMagicPickle opened this issue Sep 22, 2024 · 1 comment
Open

[Feature Request] Adding TTL to records #253

MrMagicPickle opened this issue Sep 22, 2024 · 1 comment

Comments

@MrMagicPickle
Copy link

Hello, I'd like to request to add an easy means of adding TTL to our records so that they can be automatically deleted after they reach an expiry datetime.

The reason I am proposing this is because:

I foresee that one of the common usecase for applications that use instantDB would be to create a quick realtime collaborative environment as a one-time-use, but then never re-visit it again. For example: multiplayer lobby games, temporary file sharing links, online polls/surveys, etc.

@xavierchow
Copy link

xavierchow commented Oct 10, 2024

+1
Having an expiration property on the records would be helpful and convenient.

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

2 participants