Function current_timestamp
Source pub fn current_timestamp<'a, V>() -> SQLExpr<'a, V, Timestamp, NonNull, Scalar>
Expand description
CURRENT_TIMESTAMP - returns the current timestamp.
Works on both SQLite and PostgreSQL.
§Example
ⓘuse drizzle_core::expr::current_timestamp;
let now = current_timestamp::<SQLiteValue>();