Function diesel::pg::expression::dsl::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 as AsExpression<T>>::Expression, <b as AsExpression<U>>::Expression>
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.