Expand description
TDS binary encoding for SQL values.
This module provides encoding of Rust values into TDS wire format for transmission to SQL Server.
Traits§
- TdsEncode
- Trait for encoding values to TDS binary format.
Functions§
- encode_
date - Encode a DATE value.
- encode_
datetime2 - Encode a DATETIME2 value.
- encode_
datetimeoffset - Encode a DATETIMEOFFSET value.
- encode_
decimal - Encode a decimal value.
- encode_
time - Encode a TIME value.
- encode_
utf16_ string - Encode a string as UTF-16LE with length prefix.
- encode_
utf16_ string_ no_ len - Encode a string as UTF-16LE without length prefix (for fixed-length fields).
- encode_
uuid - Encode a UUID in SQL Server’s mixed-endian format.