class Flor::DummySequelAdapter
Constants
- DB
DJV
Public Class Methods
new(opts)
click to toggle source
# File lib/flor/unit/models.rb, line 12 def initialize(opts) @opts = opts @db = Db.new @cache = {} # necessary for Sequel >= 4.42.0 end
Public Instance Methods
fetch_rows(sql) { || ... }
click to toggle source
# File lib/flor/unit/models.rb, line 18 def fetch_rows(sql); yield([]); end
test_connection()
click to toggle source
# File lib/flor/unit/models.rb, line 22 def test_connection();true;end
typecast_value_boolean(opts={})
click to toggle source
DJV
add missing methods from dummy adaptor
# File lib/flor/unit/models.rb, line 21 def typecast_value_boolean(opts={});true;end