-
Notifications
You must be signed in to change notification settings - Fork 86
dbsave
Matthias Görges edited this page Mar 13, 2015
·
1 revision
dbsave saves the content of database table db in an encrypted cdb file.
Parameter | Description |
---|---|
file | Filename (and path) of cdb database file |
key | Encyption key as u8vector (minimum length 24) |
db | Database table to be stored |
Example 1: Save a medication database to a file. - Uses uiform page syntax.
(let ((mdb (uiget 'meds-before-database))
(dbfile (if (uiget 'admin #f) "dummy.db" (table-ref udb 'filename "dummy.db")))
(medsbeforefile (sxrun 'meds-before-name (string-append childid "-" sleepid))))
(dbsave medsbeforefile (uiget 'cryptokey) mdb)
)
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip