Chapter 3.  The DBcursor Handle

A DBcursor object is a handle for a cursor into a Berkeley DB database.

DBcursor handles are not free-threaded. Cursor handles may be shared by multiple threads if access is serialized by the application.

You create a DBcursor using the DB->cursor() method.

If the cursor is to be used to perform operations on behalf of a transaction, the cursor must be opened and closed within the context of that single transaction.

Once DBcursor->close() has been called, the handle may not be accessed again, regardless of the method's return.

Database Cursors and Related Methods