Re: [exim] redis query syntax

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: Re: [exim] redis query syntax
On 27/02/17 22:30, Ian Zimmerman wrote:
> The spec says in Sec. 9.4:
>
> The supported query-style lookup types are listed below. Further
> details about many of them are given in later sections.
>
> [snip]
>
>     redis: The format of the query is an SQL statement that is passed to
>     a Redis database. See section 9.21.

>
> This doesn't sound right: redis is not a SQL database (and proud of it,
> I think). Who knows more about this?


Mmm, misleading. I'll work up some better words.


Examples:

${lookup redis{set keyname ${quote_redis:objvalue plus}}}
${lookup redis{get keyname}}


Thanks for pointing this out.
--
Jeremy