class TDS::Connection

Defined in:

tds/connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(options : DB::Connection::Options, tds_options : TDS::Connection::Options) #

[View source]

Instance Method Detail

def build_prepared_statement(query) : DB::Statement #
Description copied from class DB::Connection

:nodoc:


[View source]
def build_unprepared_statement(query) : DB::Statement #
Description copied from class DB::Connection

:nodoc:


[View source]
def do_close #
Description copied from module DB::Disposable

Implementors overrides this method to perform resource cleanup If an exception is raised, the resource will not be marked as closed.


[View source]
def recv(type : PacketIO::Type, &block : IO -> ) #

[View source]
def send(type : PacketIO::Type, &block : IO -> ) #

[View source]
def sp_prepare(params : String, statement : String, options = 1) : Int32 #

[View source]
def sp_unprepare(handle : Int32) : UInt32 #

[View source]