Class: QDA::Backend::SQLite::FileDatabase
- Inherits:
-
DatabaseBase
- Object
- DatabaseBase
- QDA::Backend::SQLite::FileDatabase
- Defined in:
- lib/weft/backend/sqlite/database.rb
Overview
A class derived from a standard SQLite database with the ability to save and revert changes. Under the hood, when a database file is requested to be opened, a temporary copy of that file is used, and all changes are only written on a call to save().
Instance Method Summary collapse
-
#initialize(file) ⇒ FileDatabase
constructor
A new instance of FileDatabase.
Methods inherited from DatabaseBase
Constructor Details
#initialize(file) ⇒ FileDatabase
Returns a new instance of FileDatabase.
53 54 55 |
# File 'lib/weft/backend/sqlite/database.rb', line 53 def initialize(file) super(file) end |