Struct diesel::expression::dsl::now [] [src]

pub struct now;

Represents the SQL NOW() function

Trait Implementations

impl Expression for now
[src]

type SqlType = Timestamp

fn to_sql(&self, out: &mut QueryBuilder) -> BuildQueryResult

impl<QS> SelectableExpression<QS> for now
[src]

impl NonAggregate for now
[src]

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

impl<Rhs> Sub<Rhs> for now where Rhs: AsExpression<now::SqlType::Rhs>
[src]

type Output = Sub<Self, Rhs::Expression>

The resulting type after applying the - operator

fn sub(self, rhs: Rhs) -> Self::Output

The method for the - operator