Skip to main content

localtime

Function localtime 

Source
pub fn localtime<'a, V>() -> SQLExpr<'a, V, <V::DialectMarker as DialectTypes>::Time, NonNull, Scalar, ()>
Expand description

The current time without time zone (LOCALTIME), on PostgreSQL.

The result is time and never NULL.

ยงExamples

assert_eq!(localtime::<Value>().sql(), "LOCALTIME");