Class: QDA::Backend::SQLite::FileDatabase

Inherits:
DatabaseBase show all
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

Methods inherited from DatabaseBase

#date_freeze, #date_thaw

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