module TDS::StatementMethods

Direct including types

Defined in:

tds/statement_methods.cr

Instance Method Summary

Instance Method Detail

def conn #

[View source]
def parameterize(command : String, arguments : Array(Parameter)) : Tuple(String, Array(String), Array(Parameter)) #

Replaces ? placeholders with @P$n__ where n = 0..n placeholders in the given SQL statement, returning the updated statement, and array of parameter names and types for sp_prepare or sp_executesql


[View source]
abstract def parameterize(args : Enumerable) : Tuple(String, Array(Parameter)) #

[View source]
def perform_exec(args : Enumerable) : DB::ExecResult #

[View source]
def perform_query(args : Enumerable) : DB::ResultSet #

[View source]
abstract def requestType : RpcRequest::Type #

[View source]