struct MySql::Connection::Options
- MySql::Connection::Options
- Struct
- Value
- Object
Defined in:
mysql/connection.crConstructors
- .from_uri(uri : URI) : Options
- .new(host : String, port : Int32, username : String | Nil, password : String | Nil, initial_catalog : String | Nil, charset : String)
Instance Method Summary
- #charset : String
- #clone
- #copy_with(host _host = @host, port _port = @port, username _username = @username, password _password = @password, initial_catalog _initial_catalog = @initial_catalog, charset _charset = @charset)
- #host : String
- #initial_catalog : String | Nil
- #password : String | Nil
- #port : Int32
- #username : String | Nil
Constructor Detail
def self.new(host : String, port : Int32, username : String | Nil, password : String | Nil, initial_catalog : String | Nil, charset : String)
#
Instance Method Detail
def copy_with(host _host = @host, port _port = @port, username _username = @username, password _password = @password, initial_catalog _initial_catalog = @initial_catalog, charset _charset = @charset)
#