dbget - part-cw/lambdanative GitHub Wiki
(dbget id . optdef)
dbget retrieves a variable from the database table.
Parameter | Description |
---|---|
id | Parameter name to be obtained |
optdev | Optional: Fallback value if database variable is not set |
Example 1: Build a uiform label element using two database variables.
(label text ,(lambda ()
(string-append (dbget 'first_name "") " " (dbget 'last_name ""))
))