diesel::pg::expression::functions

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.