- db-key db bufprocedure
- db-value db bufprocedure
Copies the key or value at the cursor into the blob buf, decrypts it if the database is encrypted, and returns buf. Signals an error if buf is shorter than db-key-len or db-value-len.
(db-begin mm) (let loop ((rc (db-index-first mm))) (when (= rc 0) (print (db-key mm (make-blob (db-key-len mm)))) (loop (db-index-next mm)))) (db-end mm)