Module diesel::query_dsl [] [src]

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

BelongingToDsl

Constructs a query that finds record(s) based on directional association with other record(s).

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.