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.

### Methods

auto_vacuum auto_vacuum= cache_size cache_size= database_list default_cache_size default_cache_size= default_synchronous default_synchronous= default_temp_store default_temp_store= foreign_key_list full_column_names full_column_names= index_info index_list integrity_check parser_trace parser_trace= schema_cookie schema_cookie= synchronous synchronous= table_info temp_store temp_store= user_cookie user_cookie= vdbe_trace vdbe_trace=

### Constants

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.

### Public Instance methods

auto_vacuum()
auto_vacuum=( mode )
cache_size()
cache_size=( size )
database_list( ) {|row| ...}
default_cache_size()
default_cache_size=( size )
default_synchronous()
default_synchronous=( mode )
default_temp_store()
default_temp_store=( mode )
foreign_key_list( table ) {|row| ...}
full_column_names()
full_column_names=( mode )
index_info( index ) {|row| ...}
index_list( table ) {|row| ...}
integrity_check()

Does an integrity check on the database. If the check fails, a SQLite3::Exception will be raised. Otherwise it returns silently.

parser_trace()
parser_trace=( mode )
schema_cookie()
schema_cookie=( cookie )
synchronous()
synchronous=( mode )
table_info( table ) {|row| ...}
temp_store()
temp_store=( mode )
user_cookie()
user_cookie=( cookie )
vdbe_trace()
vdbe_trace=( mode )

[Validate]