pub fn make_current_time(
now_ts: DateTime<Utc>
) -> impl Fn(&[ColumnarValue]) -> Result<ColumnarValue>
Expand description
Create an implementation of current_time()
that always returns the
specified current time.
The semantics of current_time()
require it to return the same value
wherever it appears within a single statement. This value is
chosen during planning time.