Skip to main content

txn_or_clock_micros

Function txn_or_clock_micros 

Source
pub fn txn_or_clock_micros() -> i64
Expand description

Read the cached txn-start clock if one is installed, else a fresh now_micros(). Used by NOW / CURRENT_TIMESTAMP / CURRENT_DATE / LOCALTIMESTAMP.