Trait rorm_sql::select::Select

source ·
pub trait Select<'until_build, 'post_query> {
    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

Set a limit to the resulting rows.

Only retrieve distinct rows.

Set a where clause to the query.

Build the select query

Implementors