class

Shared::Config::Database

Inherits Reference < Object

Constructors

load(environment : String = ENV.fetch("CRYSTAL_ENV", "development")) : self
Source
new(database : String, hostname : String, port : Int32, username : String, password : String)
Source

Class methods

connection_url
Source

Instance methods

database
Source
hostname
Source
password
Source
port
Source
username
Source