Struct diesel::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 Debug for now
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for now
[src]

impl Clone for now
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Expression for now
[src]

The type that this expression represents in SQL

impl NonAggregate for now
[src]

impl<DB: Backend> QueryFragment<DB> for now
[src]

[src]

Walk over this QueryFragment for all passes. Read more

[src]

Converts this QueryFragment to its SQL representation. Read more

[src]

Serializes all bind parameters in this query. Read more

[src]

Is this query safe to store in the prepared statement cache? Read more

impl<QS> SelectableExpression<QS> for now where
    now: AppearsOnTable<QS>, 
[src]

impl<QS> AppearsOnTable<QS> for now where
    now: Expression
[src]

impl<Rhs> Add<Rhs> for now where
    Rhs: AsExpression<<<now as Expression>::SqlType as Add>::Rhs>, 
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

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

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl AsExpression<Timestamptz> for now
[src]

The expression being returned

[src]

Perform the conversion

impl AsExpression<Nullable<Timestamptz>> for now
[src]

The expression being returned

[src]

Perform the conversion

Auto Trait Implementations

impl Send for now

impl Sync for now