Contains traits responsible for the actual construction of SQL statements
The types in this module are part of Diesel’s public API, but are generally only useful for implementing Diesel plugins. Applications should generally not need to care about the types inside of this module.
pub use self::bind_collector::BindCollector;
Types related to managing bind parameters during query construction.
The primary type used when walking a Diesel AST during query execution.
A struct that implements
fmt::Debug to show the SQL
representation of a query.
Represents a SQL
The structure returned by
A fully constructed insert statement.
The return value of
Represents a complete
Types which can be passed to
Types that can be converted into a complete, typed SQL query.
A complete SQL query with a return type.
Constructs a SQL query from a Diesel AST.
An untyped fragment of SQL.
Uniquely identifies queries by their type for the purpose of prepared statement caching.
Indicates that a type is a
Marker trait to indicate that no additional operations have been added to a record for insert.
Takes a query
QueryFragment expression as an argument and returns a type
fmt::Debug to show the query.
DELETE statement with a boxed
UPDATE statement with a boxed
A specialized Result type used with the query builder.
The type returned by
update. The only thing you can do
with this type is call
set on it.