- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
impl<'a, F, S, D, W, O, L, Of, G, DB> BoxedDsl<'a, DB>
for SelectStatement<F, SelectClause<S>, D, W, O, L, Of, G>
where
Self: AsQuery,
DB: Backend,
S: QueryFragment<DB> + SelectableExpression<F> + Send + 'a,
D: QueryFragment<DB> + Send + 'a,
W: Into<BoxedWhereClause<'a, DB>>,
O: Into<Option<Box<dyn QueryFragment<DB> + Send + 'a>>>,
L: QueryFragment<DB> + Send + 'a,
Of: QueryFragment<DB> + Send + 'a,
G: QueryFragment<DB> + Send + 'a,
{
type Output = BoxedSelectStatement<'a, S::SqlType, F, DB>;
fn internal_into_boxed(self) -> Self::Output {
BoxedSelectStatement::new(
Box::new(self.select.0),
self.from,
Box::new(self.distinct),
self.where_clause.into(),
self.order.into(),
Box::new(self.limit),
Box::new(self.offset),
Box::new(self.group_by),
)
}
}