Skip to content
Chris Petersen edited this page Sep 11, 2015 · 2 revisions

Returns value in database key-value pair or #f.

Parameter Description
db database handle
key key to lookup

Example

> (define db (lmdb-open "test.db"))
> (lmdb-ref db 'test)
#f
> (lmdb-set! db 'test 123)
#t
> (lmdb-ref db 'test)     
123
Clone this wiki locally