Gitweb:
https://git.exim.org/exim.git/commitdiff/9e4a64fd7c67f4a838ca588ee62c81227bdee9f2
Commit: 9e4a64fd7c67f4a838ca588ee62c81227bdee9f2
Parent: 9cef001870cf7b6c7af88e714eeb5ed49182abf4
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Jun 25 10:56:57 2023 +0100
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Sun Jun 25 11:03:06 2023 +0100
Docs: duplicate description of lookup-style query syntax
---
doc/doc-docbook/spec.xfpt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 5122c97fb..4a044bb11 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -6724,6 +6724,12 @@ version of the lookup key.
The &'query-style'& type accepts a generalized database query. No particular
key value is assumed by Exim for query-style lookups. You can use whichever
Exim variables you need to construct the database query.
+
+For the string-expansion kind of lookups, the query is given in the first
+bracketed argument of the &${lookup ...}$& expansion.
+For the list-argument kind of lookup the quury is given by the remainder of the
+list item after the first semicolon.
+
.cindex "tainted data" "quoting for lookups"
If tainted data is used in the query then it should be quuted by
using the &*${quote_*&<&'lookup-type'&>&*:*&<&'string'&>&*}*& expansion operator
--
## subscription configuration (requires account):
##
https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://wiki.exim.org/