Module query_dsl

Source
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§

BelongingToDsl
Constructs a query that finds record(s) based on directional association with other record(s).
CombineDsl
Extension trait to combine queries using a combinator like UNION, INTERSECT or EXCEPT with or without ALL rule for duplicates
CompatibleTypei-implement-a-third-party-backend-and-opt-into-breaking-changes
JoinOnDsl
Specify the ON clause for a join statement. This will override any implicit ON clause that would come from joinable!
QueryDsl
Methods used to construct select statements.
RunQueryDsl
Methods used to execute queries.
SaveChangesDsl
Sugar for types which implement both AsChangeset and Identifiable
UpdateAndFetchResults
A trait defining how to update a record and fetch the updated entry on a certain backend.