Function postgres_protocol::types::timestamp_to_sql

source ·
pub fn timestamp_to_sql(v: i64, buf: &mut BytesMut)
Expand description

Serializes a TIMESTAMP or TIMESTAMPTZ value.

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