You are looking at historical revision 9567 of this page. It may differ significantly from its current revision.
qdbm
Description
Incomplete, simple interface to qdbm.
Author
Sven Hartrumpf
Requirements
None
Download
Documentation
This egg provides an incomplete, simple interface to qdbm. Here are two examples that illustrate its use.
Writing a "depot" database
> csi #;1> (use qdbm) #;2> (define d (dp-open-write "testdb" 'create)) #;3> d #<pointer 0x809a378> #;4> (dp-put d "key1" 4 "val1" 4) #t #;5> (dp-close d) #t #;6> (exit)
Verify the result with dpmgr (part of qdbm):
> dpmgr list testdb key1val1
Reading a "depot" database
#;1> (use qdbm) #;2> (define d (dp-open-read "testdb")) #;3> d #<pointer 0x809a378> #;4> (dp-get d "key1") "val1" #;5> (dp-close d) #t #;6> (exit)
License
GPL (What version, GPL/LGPL?)