Tds v1.2.0 Tds.Protocol View Source
Implements DBConnection behaviour for TDS protocol
Link to this section Summary
Link to this section Types
Link to this type
env()
View Source
env()
View Source
env() :: %{
trans: <<_::8>>,
savepoint: non_neg_integer(),
collation: Tds.Protocol.Collation.t(),
packetsize: integer()
}
env() :: %{ trans: <<_::8>>, savepoint: non_neg_integer(), collation: Tds.Protocol.Collation.t(), packetsize: integer() }
Link to this type
packet_data()
View Source
packet_data()
View Source
packet_data() :: binary()
packet_data() :: binary()
Link to this type
proto() View Source
Link to this type
sock()
View Source
sock()
View Source
sock() :: {:gen_tcp | :ssl, pid()}
sock() :: {:gen_tcp | :ssl, pid()}
Link to this type
state()
View Source
state()
View Source
state() :: :ready | :prelogin | :login | :prepare | :executing
state() :: :ready | :prelogin | :login | :prepare | :executing
Link to this type
transaction()
View Source
transaction()
View Source
transaction() :: nil | :started | :successful | :failed
transaction() :: nil | :started | :successful | :failed
Link to this section Functions
Link to this function
login(s) View Source
Link to this function
message(arg1, arg2, s) View Source
Link to this function
prelogin(s) View Source
Link to this function
send_close(query, params, s) View Source
Link to this function
send_param_query(_, params, s) View Source
Link to this function
send_prepare(statement, params, s) View Source
Link to this function
send_query(statement, s) View Source
Link to this function