Module | SQLite3::Pragmas |
In: |
lib/sqlite3/pragmas.rb
|
This module is intended for inclusion solely by the Database class. It defines convenience methods for the various pragmas supported by SQLite3.
For a detailed description of these pragmas, see the SQLite3 documentation at sqlite.org/pragma.html.
SYNCHRONOUS_MODES | = | [ [ 'full', 2 ], [ 'normal', 1 ], [ 'off', 0 ] ] | The enumeration of valid synchronous modes. | |
TEMP_STORE_MODES | = | [ [ 'default', 0 ], [ 'file', 1 ], [ 'memory', 2 ] ] | The enumeration of valid temp store modes. |
Does an integrity check on the database. If the check fails, a SQLite3::Exception will be raised. Otherwise it returns silently.