Closed noteflakes closed 10 months ago
Right now, the only option that can be used when creating a Database instance is :read_only:
Database
:read_only
# Open a read-only database db = Extralite::Database.new('foo.db', read_only: true)
The following options can be useful:
:gvl_release_threshold
:wal_journal_mode
PRAGMA journal_mode=WAL
:synchronous
PRAGMA synchronous=1
Right now, the only option that can be used when creating a
Database
instance is:read_only
:The following options can be useful:
:gvl_release_threshold
- sets the GVL release threshold:wal_journal_mode
- executesPRAGMA journal_mode=WAL
:synchronous
- executesPRAGMA synchronous=1