# Berkeley DB: Databases and Related Methods

Databases and Related Methods | Description
--- | ---
Db.associate | Associate a secondary index
Db.close | Close a database
Db.cursor | Create a cursor handle
Db.del | Delete items from a database
Db.err | Error message with error string
Db.errx | Error message
Db.fd | Return a file descriptor from a database
Db.get | Get items from a database
Db.get_byteswapped | Return if the underlying database is in host order
Db.get_type | Return the database type
Db.join | Perform a database join on cursors
Db.key_range | Return estimate of key location
Db.open | Open a database
Db.pget | Get items from a database
Db.put | Store items into a database
Db.remove | Remove a database
Db.rename | Rename a database
Db.set_append_recno | Set record append callback
Db.set_bt_compare | Set a Btree comparison function
Db.set_bt_minkey | Set the minimum number of keys per Btree page
Db.set_bt_prefix | Set a Btree prefix comparison function
Db.set_cache_priority | Set the database cache priority
Db.set_cachesize | Set the database cache size
Db.set_dup_compare | Set a duplicate comparison function
Db.set_encrypt | Set the database cryptographic key
Db.set_errcall | Set error message callback
Db.set_error_stream | Set error message output stream
Db.set_errpfx | Set error message prefix
Db.set_feedback | Set feedback callback
Db.set_flags | General database configuration
Db.set_h_ffactor | Set the Hash table density
Db.set_h_hash | Set a hashing function
Db.set_h_nelem | Set the Hash table size
Db.set_lorder | Set the database byte order
Db.set_pagesize | Set the underlying database page size
Db.set_q_extentsize | Set Queue database extent size
Db.set_re_delim | Set the variable-length record delimiter
Db.set_re_len | Set the fixed-length record length
Db.set_re_pad | Set the fixed-length record pad byte
Db.set_re_source | Set the backing Recno text file
Db.stat | Return database statistics
Db.sync | Flush a database to stable storage
Db.truncate | Empty a database
Db.upgrade | Upgrade a database
Db.verify | Verify/salvage a database

Copyright Sleepycat Software