postgres_protocol::types

Function time_to_sql

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

Serializes a TIME or TIMETZ value.

The value should represent the number of microseconds since midnight.