Berkeley DB Reference Guide:
Simple Tutorial


Object handles

With a few minor exceptions, Berkeley DB functionality is accessed by creating a structure and then calling functions that are fields in that structure. This is, of course, similar to object-oriented concepts, of instances and methods on them. For simplicity, we will often refer to these structure fields as methods of the handle.

The manual pages will show these methods as C structure references. For example, the open-a-database method for a database handle is represented as DB->open.


Copyright Sleepycat Software