From ae0d560197b26b55c1b5354b1b65d01dc6bdd01c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 9 Jan 2021 21:08:33 +0100 Subject: mod_storage_sql: Advertise support for id range query That is, a query for items between two IDs (not inclusive). --- plugins/mod_storage_sql.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index 8fc92410..9300ed78 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -282,6 +282,7 @@ archive_store.caps = { total = true; quota = archive_item_limit; truncate = true; + full_id_range = true; }; archive_store.__index = archive_store function archive_store:append(username, key, value, when, with) -- cgit v1.2.3