Sha256: 31d76ec290882a6aba9f43d0f3ed1b7c81b2387046f9833118bd4396144ac281
Contents?: true
Size: 500 Bytes
Versions: 28
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true class ReeDao::BuildSqliteConnection include Ree::FnDSL fn :build_sqlite_connection do link :build_connection end contract( { database: String, readonly?: Bool, timeout?: Integer, }, Ksplat[ RestKeys => Any # inherited from `build_connection` opts ] => Sequel::Database ) def call(conn_opts, **opts) require 'sequel/adapters/sqlite' build_connection(conn_opts.merge(adapter: 'sqlite'), **opts) end end
Version data entries
28 entries across 28 versions & 1 rubygems