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

dbload load the content of a cdb database from a file and return as a table.

Parameter Description
file Filename (and path) of cdb database file
key Encyption key as u8vector (minimum length 24)

Example

Example 1: Load an encrypted database using uiform syntax.

(uiset 'adminpath (string-append "sandbox" (system-pathseparator) "admin.db"))
(uiset 'cryptokey (random-u8vector 24))
(uiset 'database (dbload (uiget 'adminpath) (uiget 'cryptokey)))
Clone this wiki locally