Software /
code /
prosody
Diff
plugins/mod_storage_sql.lua @ 11271:41a962b72a6e
mod_storage_sql: Advertise support for id range query
That is, a query for items between two IDs (not inclusive).
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 09 Jan 2021 21:08:33 +0100 |
parent | 10993:b5e7f4d533e2 |
child | 11279:f225070e2b8a |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Mon Nov 30 23:42:13 2020 +0100 +++ b/plugins/mod_storage_sql.lua Sat Jan 09 21:08:33 2021 +0100 @@ -282,6 +282,7 @@ 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)