Berkeley DB Reference Guide:
Access Methods
PrevRefNext

Database open

The DB->open method opens a database, and takes five arguments:


file database type mode

There are a few flags that you can set to customize open:


DB_CREATE DB_NOMMAP DB_RDONLY DB_THREAD DB_TRUNCATE DB_UPGRADE

PrevRefNext

Copyright (c) 1996,2008 Oracle. All rights reserved.