MaxColumnBytes¶
Validated upper bound on bytes read per text/decimal column. Constructed once at the connection boundary; downstream code can trust the value is within [min(), max()].
Constructors¶
create¶
Parameters¶
- n: USize val
Returns¶
- MaxColumnBytes val^ ?
Public Functions¶
apply¶
Returns¶
- USize val
min¶
Floor: text column buffers must hold at least a small row's worth of data plus a null terminator. 4 KiB matches the pre-existing floor in _ColumnBindings.
Returns¶
- USize val
max¶
Ceiling: ODBC length indicators (SQLLEN) are signed 64-bit on the platforms we support, so no single value can exceed I64.max_value() bytes regardless of the driver.
Returns¶
- USize val