I really like the simplicity of this package, but I was wondering: is there a particular reason that this uses strings for the deleted and visible fields?
Using a date field would allow for adding a TTL Index to the deleted field, enabling the database to automatically clean up old messages.
Greetings,
I really like the simplicity of this package, but I was wondering: is there a particular reason that this uses strings for the
deleted
andvisible
fields?Using a date field would allow for adding a TTL Index to the
deleted
field, enabling the database to automatically clean up old messages.