Skip to main content

bit_length

Function bit_length 

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

Returns eight times the encoded byte length, preserving input nullability. Maps to PostgreSQL BIT_LENGTH.