From efb4000817931a3723ded13fb14e0ef4528cbcf6 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Sun, 17 May 2026 20:55:25 +0200 Subject: [PATCH] Tweak addinfo_by_id documentation Signed-off-by: yubiuser --- docs/database/query-database.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/database/query-database.md b/docs/database/query-database.md index 38c049dd5..463f5d3de 100644 --- a/docs/database/query-database.md +++ b/docs/database/query-database.md @@ -200,8 +200,11 @@ Label | Type | Allowed to be empty | Content Valid `type` IDs are currently -- `ADDINFO_CNAME_DOMAIN = 1` - `content` is a string (the related CNAME) -- `ADDINFO_DOMAIN_ID = 2` - `content` is an integer (ID pointing to a domain in the [`domainlist` table](domain-database/index.md#domain-tables-domainlist)) +- `ADDINFO_CNAME_DOMAIN = 1`; `content` is a string (the related CNAME) +- `ADDINFO_LIST_ID = 2`; `content` is an integer (ID pointing to a domain in the [`domainlist` table](domain-database/index.md#domain-tables-domainlist) or an adlist in the [`adlist` table](domain-database/index.md#list-table-adlist)) + - `>= 0` domainlist ID + - `-1` not set + - `-2` adlist ID `0`, `-3` adlist ID `1`, `-4` adlist ID `2`,... ### Example for interaction with the long-term query database