pub trait Select<'until_build, 'post_query> {
// Required methods
fn limit_clause(self, limit: LimitClause) -> Self;
fn distinct(self) -> Self;
fn where_clause(
self,
where_clause: &'until_build Condition<'post_query>,
) -> Self;
fn build(self) -> (String, Vec<Value<'post_query>>);
}Expand description
Trait representing a select builder.
Required Methods§
Sourcefn limit_clause(self, limit: LimitClause) -> Self
fn limit_clause(self, limit: LimitClause) -> Self
Set a limit to the resulting rows.
Sourcefn where_clause(
self,
where_clause: &'until_build Condition<'post_query>,
) -> Self
fn where_clause( self, where_clause: &'until_build Condition<'post_query>, ) -> Self
Set a where clause to the query.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".