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

pub fn date_to_sql(v: i32, buf: &mut Vec<u8>)

Serializes a DATE value.

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