Enum MySqlWeightStringCast
The cast target of the optional AS {CHAR|BINARY}(N) clause of MySQL's
WEIGHT_STRING function, used by the cast/length overload of weight_string.
public enum MySqlWeightStringCast
- Extension Methods
Fields
Binary = 1Pad or truncate with
0x00bytes:AS BINARY(N).Char = 0Pad or truncate with spaces:
AS CHAR(N).
Remarks
AS CHAR(N) pads the value with spaces and AS BINARY(N) pads it with 0x00 bytes
before the weight is computed; both pad to N or truncate to N characters/bytes when the
value is longer. MySQL 8.4 documents no other modifier clause (the LEVEL flags are unused), so
no further option is modelled here.