Class: ReeDao::BuildSqliteConnection

Inherits:
Object
  • Object
show all
Includes:
Ree::FnDSL
Defined in:
lib/ree_lib/packages/ree_dao/package/ree_dao/functions/build_sqlite_connection.rb

Instance Method Summary collapse

Instance Method Details

#call(conn_opts, **opts) ⇒ Object



23
24
25
26
# File 'lib/ree_lib/packages/ree_dao/package/ree_dao/functions/build_sqlite_connection.rb', line 23

def call(conn_opts, **opts)
  require 'sequel/adapters/sqlite'
  build_connection(conn_opts.merge(adapter: 'sqlite'), **opts)
end