-
Notifications
You must be signed in to change notification settings - Fork 88
init cdb
clpetersen edited this page Oct 16, 2014
·
1 revision
Initialize the query of a constant database.
| Parameter | Description |
|---|---|
| filename | Name of cdb database file to query |
> (define cdbm (make-cdb "test.cdb"))
> (cdb-make-add cdbm "A" 1)
> (cdb-make-exists cdbm "A")
#t
> (cdb-make-exists cdbm "B")
#f
> (cdb-make-finish cdbm)
> (define cdb (init-cdb "test.cdb"))
> (cdb-find cdb "A")
1
> (cdb-find cdb "B")
#f
> (cdb-finish cdb)