class Crecto::Repo::Config

Defined in:

crecto/repo/config.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.new #

[View source]

Instance Method Detail

def adapter : Crecto::Adapters::Postgres.class | Crecto::Adapters::Mysql.class | Crecto::Adapters::SQLite3.class #

[View source]
def adapter=(adapter : Crecto::Adapters::Postgres.class | Crecto::Adapters::Mysql.class | Crecto::Adapters::SQLite3.class) #

[View source]
def checkout_timeout : Float64 #

[View source]
def checkout_timeout=(checkout_timeout) #

[View source]
def crecto_db : DB::Database? #

[View source]
def crecto_db=(crecto_db : DB::Database?) #

[View source]
def database : String #

[View source]
def database=(database) #

[View source]
def database_url #

[View source]
def get_connection #

[View source]
def hostname : String #

[View source]
def hostname=(hostname) #

[View source]
def initial_pool_size : Int32 #

[View source]
def initial_pool_size=(initial_pool_size) #

[View source]
def max_idle_pool_size : Int32 #

[View source]
def max_idle_pool_size=(max_idle_pool_size) #

[View source]
def max_pool_size : Int32 #

[View source]
def max_pool_size=(max_pool_size) #

[View source]
def password : String #

[View source]
def password=(password) #

[View source]
def port : Int32 #

[View source]
def port=(port) #

[View source]
def retry_attempts : Int32 #

[View source]
def retry_attempts=(retry_attempts) #

[View source]
def retry_delay : Float64 #

[View source]
def retry_delay=(retry_delay) #

[View source]
def uri : String #

[View source]
def uri=(uri) #

[View source]
def username : String #

[View source]
def username=(username) #

[View source]