Skip to main content

byte_length

Function byte_length 

Source
pub fn byte_length<T>(
    arg: impl IntoExpr<T>,
) -> Expr<<T as StringLengthExpr>::Output>
Expand description

Returns the encoded byte length of a text expression, preserving input nullability. Maps to PostgreSQL OCTET_LENGTH.