SQLite: Handle automated expiration

This commit is contained in:
Tim Wojtulewicz 2024-08-12 13:23:24 -07:00
parent e95784db16
commit ec49f5d550
5 changed files with 88 additions and 9 deletions

View file

@ -48,7 +48,11 @@ public:
*/
ErrorResult DoErase(ValPtr key, ErrorResultCallback* cb = nullptr) override;
// TODO: add support for checking for expired data
/**
* Removes any entries in the backend that have expired. Can be overridden by
* derived classes.
*/
void Expire() override;
private:
ErrorResult checkError(int code);