class ODBC::Config

Overview

Configuration options for ODBC connections and operations

Defined in:

odbc/config.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.from_env : Config #

Load configuration from environment variables


[View source]
def self.instance : Config #

[View source]

Class Method Detail

def self.configure(&) : Nil #

[View source]

Instance Method Detail

def auto_commit=(auto_commit : Bool) #

[View source]
def auto_commit? : Bool #

[View source]
def connection_timeout : Time::Span #

[View source]
def connection_timeout=(connection_timeout : Time::Span) #

[View source]
def default_buffer_size : Int32 #

[View source]
def default_buffer_size=(default_buffer_size : Int32) #

[View source]
def enable_tracing=(enable_tracing : Bool) #

[View source]
def enable_tracing? : Bool #

[View source]
def login_timeout : Time::Span #

[View source]
def login_timeout=(login_timeout : Time::Span) #

[View source]
def max_string_length : Int32 #

[View source]
def max_string_length=(max_string_length : Int32) #

[View source]
def query_timeout : Time::Span #

[View source]
def query_timeout=(query_timeout : Time::Span) #

[View source]
def trace_file : String #

[View source]
def trace_file=(trace_file : String) #

[View source]