aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
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
commitae0d560197b26b55c1b5354b1b65d01dc6bdd01c (patch)
treee30a471026e81604e7cf067f2efa14288a940e6d /plugins/mod_storage_sql.lua
parent9e5dbb42176d2d22bd69ffdc872df58a3a17c19f (diff)
downloadprosody-ae0d560197b26b55c1b5354b1b65d01dc6bdd01c.tar.gz
prosody-ae0d560197b26b55c1b5354b1b65d01dc6bdd01c.zip
mod_storage_sql: Advertise support for id range query
That is, a query for items between two IDs (not inclusive).
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-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)