Skip to main content

try_dt

Function try_dt 

Source
pub fn try_dt(row: &PgRow, col: &str) -> Option<DateTime<Utc>>
Expand description

从 PG 行读取时间列(优先 TIMESTAMP naive,兼容 TIMESTAMPTZ)