Module: Sequel::SQLite
- Defined in:
- lib/sequel/adapters/sqlite.rb,
lib/sequel/adapters/shared/sqlite.rb,
lib/sequel/extensions/sqlite_json_ops.rb
Defined Under Namespace
Modules: DatabaseMethods, DatasetMethods, JSONOpMethods Classes: Database, Dataset, JSONBOp, JSONBaseOp, JSONOp
Constant Summary collapse
- FALSE_VALUES =
(%w'0 false f no n'.each(&:freeze) + [0]).freeze
- SQLITE_TYPES =
Hash with string keys and callable values for converting SQLite types.
{}
- USE_EXTENDED_RESULT_CODES =
sqlite_version >= 104
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/sqlite.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 |