Function postgres_protocol::types::date_from_sql
source · pub fn date_from_sql(buf: &[u8]) -> Result<i32, Box<dyn Error + Sync + Send>>
Expand description
Deserializes a DATE
value.
The value represents the number of days since January 1st, 2000.