Type Alias backend::schema::maps::BoxedQuery
source · pub type BoxedQuery<'a, DB, ST = SqlType> = BoxedSelectStatement<'a, ST, FromClause<table>, DB>;
Expand description
Helper type for representing a boxed query from this table
Aliased Type§
struct BoxedQuery<'a, DB, ST = SqlType> {
pub select: Box<dyn QueryFragment<DB> + Send + 'a>,
pub from: FromClause<table>,
pub distinct: Box<dyn QueryFragment<DB> + Send + 'a>,
pub where_clause: BoxedWhereClause<'a, DB>,
pub order: Option<Box<dyn QueryFragment<DB> + Send + 'a>>,
pub limit_offset: BoxedLimitOffsetClause<'a, DB>,
pub group_by: Box<dyn QueryFragment<DB> + Send + 'a>,
pub having: Box<dyn QueryFragment<DB> + Send + 'a>,
/* private fields */
}
Fields§
§select: Box<dyn QueryFragment<DB> + Send + 'a>
The select clause of the query
from: FromClause<table>
The from clause of the query
distinct: Box<dyn QueryFragment<DB> + Send + 'a>
The distinct clause of the query
where_clause: BoxedWhereClause<'a, DB>
The where clause of the query
order: Option<Box<dyn QueryFragment<DB> + Send + 'a>>
The order clause of the query
limit_offset: BoxedLimitOffsetClause<'a, DB>
The combined limit/offset clause of the query
group_by: Box<dyn QueryFragment<DB> + Send + 'a>
The group by clause of the query
having: Box<dyn QueryFragment<DB> + Send + 'a>
The having clause of the query