aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-09 21:08:33 +0100
committerKim Alvefur <zash@zash.se>2021-01-09 21:08:33 +0100
commit0f716566987c9544aaf318df1e06964a0d83138d (patch)
treee30a471026e81604e7cf067f2efa14288a940e6d
parent8236720cdbd28a6d679d9a9311889425d222c979 (diff)
downloadprosody-0f716566987c9544aaf318df1e06964a0d83138d.tar.gz
prosody-0f716566987c9544aaf318df1e06964a0d83138d.zip
mod_storage_sql: Advertise support for id range query
That is, a query for items between two IDs (not inclusive).
-rw-r--r--plugins/mod_storage_sql.lua1
1 files changed, 1 insertions, 0 deletions
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)