Skip to content
Chris Petersen edited this page Sep 10, 2015 · 1 revision

Open an LMDB database, or create a new database. Returns the database handle.

Parameter Description
dbname name of database

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