digital-fabric / extralite

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

Add useful options when initializing a `Database` #48

Closed noteflakes closed 10 months ago

noteflakes commented 11 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: