Function diesel::pg::expression::functions::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.