mod_storage_sql: Advertise support for id range query
authorKim Alvefur <zash@zash.se>
Sat, 09 Jan 2021 21:08:33 +0100
changeset 11275 41a962b72a6e
parent 11274 eaaa8ca742a7
child 11276 44c9cb4094bb
mod_storage_sql: Advertise support for id range query That is, a query for items between two IDs (not inclusive).
plugins/mod_storage_sql.lua
--- 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)