###

Berkeley DB Reference Guide:
  Tcl

# Tcl API programming notes

The Tcl API closely parallels the Berkeley DB programmatic interfaces. If you are already familiar with one of those interfaces there will not be many surprises in the Tcl API.

Several pieces of Berkeley DB functionality are not available in the Tcl API. Any of the functions that require a user-provided function are not supported via the Tcl API. For example, there is no equivalent to the DB->set_dup_compare or the DBENV->set_errcall methods.

The Berkeley DB Tcl API always turns on the DB_THREAD flag for environments and databases making no assumptions about the existence or lack thereof of threads support in current or future releases of Tcl.

Copyright Sleepycat Software