(query: Query<T>)
| 88 | } |
| 89 | |
| 90 | pub fn query(query: Query<T>) -> Query<T> { |
| 91 | Query { |
| 92 | ctes: CteBlock::empty(), |
| 93 | body: SetExpr::Query(Box::new(query)), |
| 94 | order_by: vec![], |
| 95 | limit: None, |
| 96 | offset: None, |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | pub fn take(&mut self) -> Query<T> { |
| 101 | mem::replace( |