#include <db_cxx.h> Db->slice_lookup(const Dbt *key, Db **result u_int32_t flags));
The Db::slice_lookup()
method
returns the subordinate database that contains the records for the
provided key.
The Db::slice_lookup()
method
must be called on an opened database handle.
The Db::slice_lookup()
method either returns a non-zero error value or throws an
exception that encapsulates a non-zero error value on
failure, and returns 0 on success.
The key parameter is the Dbt for the record that you want to look up.
The subordinate database containing the record identified by key is returned in the result parameter.