I am trying to do Bulk retrieval on a Hash database. I can successfully retrieve Multiple records for a single key by using DB_MULTIPLE.
However when I try using DB_MULTIPLE_KEY the Dbc::get() method always returns DB_NOTFOUND. I know for a fact that some of the keys I am querying do not exist in the database. I am not clear if in this case I can even do bulk retrieval using DB_MULTIPLE_KEY. Does Dbc::get assume that when DB_MULTIPLE_KEY flag is set all all keys are present in the DB? If so is there any efficient work-around to this.