Module: Sequel::Litedb

Includes:
SQLite
Defined in:
lib/sequel/adapters/litedb.rb,
lib/sequel/adapters/shared/litedb.rb

Defined Under Namespace

Modules: DatabaseMethods, DatasetMethods Classes: Database, Dataset

Constant Summary collapse

LITEDB_TYPES =
SQLITE_TYPES

Class Method Summary collapse

Class Method Details

.mock_adapter_setup(db) ⇒ Object



10
11
12
13
14
15
16
17
18
19
# File 'lib/sequel/adapters/shared/litedb.rb', line 10

def self.mock_adapter_setup(db)
  db.instance_exec do
    @sqlite_version = 30903

    def schema_parse_table(*)
      []
    end
    singleton_class.send(:private, :schema_parse_table)
  end
end