diesel::pg::expression::dsl

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>,
Available on crate feature postgres_backend only.
Expand description

Tests whether the addresses belong to the same IP family.