chickadee » lmdb-lolevel » mdb-drop

mdb-drop txn dbi delprocedure

Empty or delete+close a database.

See (mdb-dbi-close) for restrictions about closing the DB handle.

txn
A transaction handle returned by (mdb-txn-begin)
dbi
A database handle returned by (mdb-dbi-open)
del
0 to empty the DB, 1 to delete it from the environment and close the DB handle.