Re: Lua: database lookup value?

From: Murray S. Kucherawy <msk_at_blackops.org>
Date: Sun, 30 Dec 2012 21:34:56 -0800 (PST)

On Sun, 30 Dec 2012, Murray S. Kucherawy wrote:
> It wouldn't be hard to add the capability to return the content of a
> record. Please open a feature request via SourceForge and we can see
> about adding it for 2.8.0.

Since this will need to be generic, it will need to be able to handle text
returns from data sets (colon-separated fields) as well as binary (e.g.,
an LDAP or SQL backed data set that has binary content in some columns,
such as DER keys).

I'm thinking right now of a Lua function that will return multiple values
or nil depending on whether there was a hit. Does that seem reasonable?

-MSK
Received on Mon Dec 31 2012 - 05:35:12 PST

This archive was generated by hypermail 2.3.0 : Mon Dec 31 2012 - 05:45:02 PST