Sha256: 14d812d4013bb6a9d6ce60a6ee42a02df228a0284e1f85cf3e3bb8f452ae3fb2
Contents?: true
Size: 562 Bytes
Versions: 76
Compression:
Stored size: 562 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, max_connections?: Integer, pool_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
76 entries across 76 versions & 1 rubygems