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

Method new

src/query/select.rs:165–172  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

163 E: EntityTrait,
164{
165 pub(crate) fn new() -> Self {
166 Self {
167 query: SelectStatement::new(),
168 entity: PhantomData,
169 }
170 .prepare_select()
171 .prepare_from()
172 }
173
174 fn prepare_select(mut self) -> Self {
175 self.query.exprs(self.column_list());

Callers

nothing calls this directly

Calls 3

prepare_fromMethod · 0.80
newFunction · 0.50
prepare_selectMethod · 0.45

Tested by

no test coverage detected