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.