View Source Tds.Types (Tds v2.3.1)

Link to this section Summary

Functions

Binary Type Parameter Descriptor

Data Type Encoders Encodes the COLMETADATA for the data type

Decimal Type Parameter Descriptor

Float Type Parameter Descriptor

Creates the Parameter Descriptor for the selected type

Link to this section Functions

Link to this function

decode_char(data_info, arg)

View Source
Link to this function

decode_collation(binpart)

View Source

Specs

decode_collation(binpart :: <<_::40>>) ::
  {:ok, Tds.Protocol.Collation.t()} | {:error, :more} | {:error, any()}

See Tds.Protocol.Collation.decode/1.

Link to this function

decode_data(data_info, arg)

View Source
Link to this function

decode_datetime2(scale, arg)

View Source
Link to this function

decode_datetimeoffset(scale, arg)

View Source
Link to this function

decode_decimal(precision, scale, arg)

View Source
Link to this function

decode_nchar(data_info, arg)

View Source
Link to this function

decode_plp_chunk(arg, buf)

View Source
Link to this function

decode_smalldatetime(arg)

View Source
Link to this function

decode_xml(data_info, arg)

View Source
Link to this function

encode_binary_descriptor(value)

View Source

Binary Type Parameter Descriptor

Link to this function

encode_binary_type(param)

View Source
Link to this function

encode_bit_type(parameter)

View Source
Link to this function

encode_data(data_type, value, attr)

View Source

Data encoding

Data Type Encoders Encodes the COLMETADATA for the data type

Link to this function

encode_date_type(parameter)

View Source
Link to this function

encode_datetime2(value, scale \\ 7)

View Source
Link to this function

encode_datetime2_type(parameter)

View Source
Link to this function

encode_datetime_type(parameter)

View Source
Link to this function

encode_datetimeoffset(datetimetz, scale \\ 7)

View Source
Link to this function

encode_datetimeoffset_type(parameter)

View Source
Link to this function

encode_decimal_descriptor(param)

View Source

Decimal Type Parameter Descriptor

Link to this function

encode_decimal_type(param)

View Source
Link to this function

encode_float_descriptor(param)

View Source

Float Type Parameter Descriptor

Link to this function

encode_float_type(param)

View Source
Link to this function

encode_integer_type(parameter)

View Source
Link to this function

encode_param_descriptor(param)

View Source

Creates the Parameter Descriptor for the selected type

Link to this function

encode_plp_chunk(size, data, buf)

View Source
Link to this function

encode_smalldatetime(arg1)

View Source
Link to this function

encode_smalldatetime(days, mins)

View Source
Link to this function

encode_smalldatetime_type(parameter)

View Source
Link to this function

encode_string_type(parameter)

View Source
Link to this function

encode_time_type(parameter)

View Source
Link to this function

encode_uuid_type(parameter)

View Source