(self, stmt: Statement)
| 166 | /// Perform a Select operation on a Model using a [Statement] |
| 167 | #[allow(clippy::wrong_self_convention)] |
| 168 | pub fn from_raw_sql(self, stmt: Statement) -> SelectorRaw<SelectModel<E::Model>> { |
| 169 | SelectorRaw { |
| 170 | stmt, |
| 171 | selector: SelectModel { model: PhantomData }, |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | /// Return a [Selector] from `Self` that wraps a [SelectModel] |
| 176 | pub fn into_model<M>(self) -> Selector<SelectModel<M>> |
no outgoing calls
no test coverage detected