struct TDS::Connection::Options

Defined in:

tds/connection.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(host : String, port : Int32, user : String, password : String, database_name : String, dns_timeout : Time::Span | Nil, connect_timeout : Time::Span | Nil, read_timeout : Time::Span | Nil, write_timeout : Time::Span | Nil, isolation_level : String | Nil) #

[View source]

Instance Method Detail

def clone #

[View source]
def connect_timeout : Time::Span | Nil #

def copy_with(host _host = @host, port _port = @port, user _user = @user, password _password = @password, database_name _database_name = @database_name, dns_timeout _dns_timeout = @dns_timeout, connect_timeout _connect_timeout = @connect_timeout, read_timeout _read_timeout = @read_timeout, write_timeout _write_timeout = @write_timeout, isolation_level _isolation_level = @isolation_level) #

[View source]
def database_name : String #

def dns_timeout : Time::Span | Nil #

def host : String #

def isolation_level : String | Nil #

def password : String #

def port : Int32 #

def read_timeout : Time::Span | Nil #

def user : String #

def write_timeout : Time::Span | Nil #