From 81929b18b11c72dbf7d95b7358b9cb1e0b395c2c Mon Sep 17 00:00:00 2001 From: Jordan Cook Date: Fri, 28 Oct 2022 12:46:19 -0500 Subject: Add SQLite method to count unexpired responses in SQL --- HISTORY.md | 1 + 1 file changed, 1 insertion(+) (limited to 'HISTORY.md') diff --git a/HISTORY.md b/HISTORY.md index f602e7a..040c0f1 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -51,6 +51,7 @@ * Add `ttl_offset` argument to add a delay between cache expiration and deletion * **SQLite**: * Improve performance for removing expired responses with `delete()` + * Add `count()` method to count responses, with option to exclude expired responses (performs a fast indexed count instead of slower in-memory filtering) * Add `size()` method to get estimated size of the database (including in-memory databases) * Add `sorted()` method with sorting and other query options * Add `wal` parameter to enable write-ahead logging -- cgit v1.2.1