Software / code / prosody
Changeset
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 |
| parents | 11270:eaaa8ca742a7 |
| children | 11272:44c9cb4094bb |
| files | plugins/mod_storage_sql.lua |
| diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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)