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

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]

The type that this expression represents in SQL

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

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

impl NonAggregate for now
[src]

impl QueryId for now
[src]

A type which uniquely represents Self in a SQL query. Read more

Returns the type id of Self::QueryId if Self::HAS_STATIC_QUERY_ID. Returns None otherwise. Read more

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

Converts this QueryFragment to its SQL representation. Read more

Serializes all bind parameters in this query. Read more

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

impl Clone for now
[src]

Performs copy-assignment from source. Read more

impl Copy for now
[src]

impl Debug for now
[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.

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

The resulting type after applying the - operator.

Auto Trait Implementations

impl Send for now

impl Sync for now

Blanket Implementations

impl<T> IntoSql for T
[src]

Convert self to an expression for Diesel's query builder. Read more

Convert &self to an expression for Diesel's query builder. Read more

impl<QS, T, DB> BoxableExpression for T where
    DB: Backend,
    T: Expression + SelectableExpression<QS> + NonAggregate + QueryFragment<DB>, 
[src]

impl<Conn, DB, T> ExecuteDsl for T where
    Conn: Connection<Backend = DB>,
    DB: Backend,
    T: QueryFragment<DB> + QueryId
[src]

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]