Module: Sequel::Sqljs
- Defined in:
- lib/bormashino_sequel_sqljs_adapter/sqljs.rb,
lib/bormashino_sequel_sqljs_adapter/shared/sqljs.rb
Defined Under Namespace
Modules: DatabaseMethods, DatasetMethods Classes: Database, Dataset, Wrapper
Constant Summary collapse
- FALSE_VALUES =
(%w'0 false f no n'.each(&:freeze) + [0]).freeze
- SQLITE_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/bormashino_sequel_sqljs_adapter/shared/sqljs.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 |