Home ⌂Doc Index ◂Up ▴

Read Only flag for DBT

New Flag

A DBT can now be set as read-only, when passed to the DB->get() method, using the flag DB_DBT_READONLY. This is useful when using a static string as a key value, because this flag will prevent Berkeley DB from updating the DBT.

New Flag

  • DB_DBT_READONLY


Home ⌂Doc Index ◂Up ▴