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
.
Re-exports§
pub use self::join_dsl::InternalJoinDsl;
pub use self::join_dsl::JoinWithImplicitOnClause;
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
,INTERSECT
orEXCEPT
with or withoutALL
rule for duplicates - Compatible
Type i-implement-a-third-party-backend-and-opt-into-breaking-changes
- Join
OnDsl - Specify the
ON
clause for a join statement. This will override any implicitON
clause 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
AsChangeset
andIdentifiable
- Update
AndFetch Results - A trait defining how to update a record and fetch the updated entry on a certain backend.