Skip to content
Matthias Görges edited this page Mar 13, 2015 · 2 revisions

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 ""))
))
Clone this wiki locally