[][src]Function postgres_protocol::types::date_to_sql

pub fn date_to_sql(v: i32, buf: &mut BytesMut)

Serializes a DATE value.

The value should represent the number of days since January 1st, 2000.