diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-09 21:08:33 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-09 21:08:33 +0100 |
commit | ae0d560197b26b55c1b5354b1b65d01dc6bdd01c (patch) | |
tree | e30a471026e81604e7cf067f2efa14288a940e6d /plugins | |
parent | 9e5dbb42176d2d22bd69ffdc872df58a3a17c19f (diff) | |
download | prosody-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')
-rw-r--r-- | plugins/mod_storage_sql.lua | 1 |
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) |