pub fn current_date<'a, V>() -> SQLExpr<'a, V, <V::DialectMarker as DialectTypes>::Date, NonNull, Scalar>where
V: SQLParam + 'a,Expand description
CURRENT_DATE - returns the current date.
Works on both SQLite and PostgreSQL.
ยงExample
use drizzle_core::expr::current_date;
// SELECT CURRENT_DATE
let today = current_date::<SQLiteValue>();