Struct diesel::expression::SqlLiteral [] [src]

pub struct SqlLiteral<ST> { /* fields omitted */ }

Returned by the sql() function.

Trait Implementations

impl<ST: Debug> Debug for SqlLiteral<ST>
[src]

[src]

Formats the value using the given formatter.

impl<ST: Clone> Clone for SqlLiteral<ST>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<ST> Expression for SqlLiteral<ST>
[src]

The type that this expression represents in SQL

impl<ST, DB> QueryFragment<DB> for SqlLiteral<ST> where
    DB: Backend + HasSqlType<ST>, 
[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<ST> QueryId for SqlLiteral<ST>
[src]

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

HAS_STATIC_QUERY_ID: bool = false

Can the SQL generated by Self be uniquely identified by its type? Read more

[src]

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

impl<ST> Query for SqlLiteral<ST>
[src]

The SQL type that this query represents. Read more

impl<ST, Conn> RunQueryDsl<Conn> for SqlLiteral<ST>
[src]

[src]

Executes the given command, returning the number of rows affected. Read more

[src]

Executes the given query, returning a Vec with the returned rows. Read more

[src]

Runs the command, and returns the affected row. Read more

[src]

Runs the command, returning an Vec with the affected rows. Read more

[src]

Attempts to load a single record. Read more

impl<QS, ST> SelectableExpression<QS> for SqlLiteral<ST>
[src]

impl<QS, ST> AppearsOnTable<QS> for SqlLiteral<ST>
[src]

impl<ST> NonAggregate for SqlLiteral<ST>
[src]