pub fn family<T: InetOrCidr + SingleValue, addr>(
addr: addr
) -> family<T, <addr as AsExpression<T>>::Expression>where
addr: AsExpression<T>,
Available on crate feature
postgres_backend
only.Expand description
Returns the address’s family: 4 for IPv4, 6 for IPv6.