sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Database with integer keys and string elements.
create env "foo"
open the database "foo"
in the environment env
.
If create
is set to true
, the database will be created if it doesn't exists. Invalid if env
is read only.
val put : ?flags:PutFlags.t -> t -> key -> elt -> unit
put db k v
associates the key k
to the value v
in the database db
.
append db k v
append k, v
at the end of the database db
without performing comparisons.
Should only be used to quickly add already-sorted data to the database.
remove db k
removes k
from db
.
If the database accepts duplicates:
elt
is provided, only the specified binding is removed.elt
is not provided, all the bindings with k
are removed.module Txn : sig ... end
A series of operation performed atomically.
module Cursor : sig ... end
Manual iterators.
val drop : ?delete:bool -> t -> unit