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

Document purgeOld #285

Open
MichalBryxi opened this issue Apr 24, 2020 · 0 comments
Open

Document purgeOld #285

MichalBryxi opened this issue Apr 24, 2020 · 0 comments

Comments

@MichalBryxi
Copy link

MichalBryxi commented Apr 24, 2020

Took me a bit to get through purgeOld method to implement it properly. There are few things that are not obvious:

  • When you add new record, you want to use name = Rows.encodeString('something')
  • When you call purgeOld, you don't want to use encodeString: await rules.table.rows.purgeOld(['something]);
  • Why is there timeout and what does it do? Why would I want to implement this method / What are the common use-cases?
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