Availability::- use_module(library(bdb)).
(can be autoloaded)
bdb_enum(+DB,
-Key, -Value)Enumerate the whole database, unifying the key-value pairs to
Key and Value. Though this predicate can be used
with an instantiated Key to enumerate only the keys unifying
with Key, no indexing is used by bdb_enum/3.