diesel::pg::expression::dsl

Function host

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

Returns the IP address as text, ignoring the netmask.