digital-fabric / extralite

Ruby on SQLite
http://www.rubydoc.info/gems/extralite
MIT License
247 stars 7 forks source link

Add useful options when initializing a `Database` #48

Closed noteflakes closed 5 months ago

noteflakes commented 6 months ago

Right now, the only option that can be used when creating a Database instance is :read_only:

# Open a read-only database
db = Extralite::Database.new('foo.db', read_only: true)

The following options can be useful: