freeze

freeze() updating;

The freeze method of the DbFile class converts a database file to read-only mode after which any object update, delete, or create operations are not be permitted. (See also the thaw method.)

All objects in a frozen database file are automatically frozen, overriding individual volatility state.