Expand description
Traits that construct SELECT statements
Traits in this module have methods that generally map to the keyword for the corresponding clause in SQL,
unless it conflicts with a Rust keyword (such as WHERE/where).
Methods for constructing queries lives on the QueryDsl trait.
Methods for executing queries live on RunQueryDsl.
See also expression_methods and dsl.
Modules§
- methods
- The traits used by
QueryDsl.
Traits§
- Belonging
ToDsl - Constructs a query that finds record(s) based on directional association with other record(s).
- Combine
Dsl - Extension trait to combine queries using a combinator like
UNION,INTERSECTorEXCEPTwith or withoutALLrule for duplicates - Compatible
Type i-implement-a-third-party-backend-and-opt-into-breaking-changes - Join
OnDsl - Specify the
ONclause for a join statement. This will override any implicitONclause that would come fromjoinable! - Query
Dsl - Methods used to construct select statements.
- RunQuery
Dsl - Methods used to execute queries.
- Save
Changes Dsl - Sugar for types which implement both
AsChangesetandIdentifiable - Update
AndFetch Results - A trait defining how to update a record and fetch the updated entry on a certain backend.