MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / from_raw_sql

Method from_raw_sql

src/executor/select.rs:168–173  ·  view source on GitHub ↗
(self, stmt: Statement)

Source from the content-addressed store, hash-verified

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>>

Callers 7

fetch_page_rawFunction · 0.80
fetch_rawFunction · 0.80
num_pages_rawFunction · 0.80
next_and_cur_page_rawFunction · 0.80
fetch_and_next_rawFunction · 0.80
into_stream_rawFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected