class Mig::DSN
Defined in:
mig/dsn.cr
Constant Summary
-
SUPPORTED_PARAMS =
["host", "port", "dbname", "user", "password", "passfile", "channel_binding", "connect_timeout", "client_encoding", "options", "application_name", "fallback_application_name", "keepalives", "keepalives_idle", "keepalives_interval", "keepalives_count", "tcp_user_timeout", "tty", "replication", "gssencmode", "sslmode", "requiressl", "sslcompression", "sslcert", "sslkey", "sslpassword", "sslrootcert", "sslcrl", "requirepeer", "ssl_max_protocol_version", "krbsrvname", "gsslib", "service", "target_session_attrs"] of ::String
Constructors
Class Method Summary
Macro Summary
Instance Method Summary
Constructor Detail
def self.
new(uri : URI)
#
Class Method Detail
def self.
parse(database_url : String)
#
Macro Detail
macro
method_missing(call)
#
Instance Method Detail
def
to_s(*args, **options)
#
def
to_s(*args, **options, &)
#
def
uri(as_superuser? =
false)
#