diesel::pg::expression::functions

Function inet_same_family

source
pub fn inet_same_family<T: InetOrCidr + SingleValue, U: InetOrCidr + SingleValue, a, b>(
    a: a,
    b: b,
) -> inet_same_family<T, U, a, b>
where a: AsExpression<T>, b: AsExpression<U>,
Expand description

Tests whether the addresses belong to the same IP family.