diff options
author | Jordan Cook <jordan.cook.git@proton.me> | 2022-10-28 12:46:19 -0500 |
---|---|---|
committer | Jordan Cook <jordan.cook.git@proton.me> | 2022-10-28 17:38:28 -0500 |
commit | 81929b18b11c72dbf7d95b7358b9cb1e0b395c2c (patch) | |
tree | 2fe4e51cffe2135285b35aaed8d3c1688a048c0a /HISTORY.md | |
parent | 03a97079839a5683b202e3ea3f66e8ce54eedab4 (diff) | |
download | requests-cache-81929b18b11c72dbf7d95b7358b9cb1e0b395c2c.tar.gz |
Add SQLite method to count unexpired responses in SQL
Diffstat (limited to 'HISTORY.md')
-rw-r--r-- | HISTORY.md | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |