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

Method into_statement

src/executor/select.rs:785–787  ·  view source on GitHub ↗

Get the SQL statement

(self, builder: DbBackend)

Source from the content-addressed store, hash-verified

783
784 /// Get the SQL statement
785 pub fn into_statement(self, builder: DbBackend) -> Statement {
786 builder.build(&self.query)
787 }
788
789 /// Get an item from the Select query
790 pub async fn one<C>(mut self, db: &C) -> Result<Option<S::Item>, DbErr>

Calls 1

buildMethod · 0.45