postgres_protocol::types

Function path_to_sql

source
pub fn path_to_sql<I>(
    closed: bool,
    points: I,
    buf: &mut BytesMut,
) -> Result<(), Box<dyn Error + Sync + Send>>
where I: IntoIterator<Item = (f64, f64)>,
Expand description

Serializes a Postgres path.