Page
Library
Module
Module type
Parameter
Class
Class type
Source
Db_camltc_gen.RW
Sourcemodule KV : Dokeysto.Db_gen.Key_val
create fn
create in read-write mode the persistent hashtbl whose data are stored in file fn
and whose index is stored in fn ^ ".idx"
.
open_existing fn
open in read-write mode the persistent hashtbl whose data are stored in file fn
and whose index is stored in fn ^ ".idx"
.
destroy db
rm data and metadata files of db
and clear db
's index hashtbl.
replace db k v
replace the current binding for k
in db
by a binding from k
to v
. Cf. Hashtbl.replace for details.
remove tbl k
remove the current binding for k
in db
. Cf. Hashtbl.replace for details.
iter f db
apply f
to all key-value pairs in db
. Cf. Hashtbl.iter for details.