struct MySql::Connection::Options

Defined in:

mysql/connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_uri(uri : URI) : Options #

[View source]
def self.new(host : String, port : Int32, username : String | Nil, password : String | Nil, initial_catalog : String | Nil, charset : String) #

[View source]

Instance Method Detail

def charset : String #

def clone #

[View source]
def copy_with(host _host = @host, port _port = @port, username _username = @username, password _password = @password, initial_catalog _initial_catalog = @initial_catalog, charset _charset = @charset) #

[View source]
def host : String #

def initial_catalog : String | Nil #

def password : String | Nil #

def port : Int32 #

def username : String | Nil #