Re: Is there "Direct Access" in BDB? -
11-30-2005
, 06:44 AM
I think you are asking about direct access to records via key instead
of by cursor. Please expand on your question if that is not the case.
You should take a look at the DB->get method to fetch a record by key
or logical record number depending on the type of database access
(Btree, Hash, Record Number, Queue).
For more information:
http://sleepycat.com/docs/api_c/db_get.html
You can find a description of the various Database access types here:
http://www.sleepycat.com/docs/ref/am_conf/select.html
http://www.sleepycat.com/docs/api_c/frame.html
Ron |