Function postgres_protocol::types::timestamp_from_sql

source ·
pub fn timestamp_from_sql(
    buf: &[u8]
) -> Result<i64, Box<dyn Error + Sync + Send>>
Expand description

Deserializes a TIMESTAMP or TIMESTAMPTZ value.

The value represents the number of microseconds since midnight, January 1st, 2000.