Function diesel::pg::expression::dsl::host

source ·
pub fn host<T: InetOrCidr + SingleValue, addr>(
    addr: addr
) -> host<T, <addr as AsExpression<T>>::Expression>where
    addr: AsExpression<T>,
Available on crate feature postgres_backend only.
Expand description

Returns the IP address as text, ignoring the netmask.