Trait block_tools::db::use_diesel::query_builder::SelectQuery[][src]

pub trait SelectQuery {
    type SqlType;
}

Indicates that a type is a SELECT statement.

This trait differs from Query in two ways:

  • It is implemented only for select statements, rather than all queries which return a value.
  • It has looser constraints. A type implementing SelectQuery is known to be potentially valid if used as a subselect, but it is not necessarily able to be executed.

Associated Types

type SqlType[src]

The SQL type of the SELECT clause

Loading content...

Implementors

impl<'a, ST, QS, DB> SelectQuery for BoxedSelectStatement<'a, ST, QS, DB> where
    DB: Backend
[src]

type SqlType = ST

Loading content...