Struct diesel::expression::dsl::now
[−]
[src]
pub struct now;
Represents the SQL CURRENT_TIMESTAMP constant. This is equivalent to the
NOW()
function on backends that support it.
Trait Implementations
impl Expression for now
[src]
impl<QS> SelectableExpression<QS> for now
[src]
impl NonAggregate for now
[src]
impl<DB: Backend> QueryFragment<DB> for now
[src]
fn to_sql(&self, out: &mut DB::QueryBuilder) -> BuildQueryResult
impl<Rhs> Add<Rhs> for now where Rhs: AsExpression<now::SqlType::Rhs>
[src]
type Output = Add<Self, Rhs::Expression>
The resulting type after applying the +
operator
fn add(self, rhs: Rhs) -> Self::Output
The method for the +
operator