Function postgres_protocol::types::date_to_sql
source · pub fn date_to_sql(v: i32, buf: &mut BytesMut)
Expand description
Serializes a DATE
value.
The value should represent the number of days since January 1st, 2000.
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.