Module diesel::query_builder
[−]
[src]
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.
Reexports
pub use self::bind_collector::BindCollector; |
Modules
bind_collector | |
insert_statement | |
update_statement | |
where_clause |
Structs
AstPass |
The primary type used when walking a Diesel AST during query execution. |
DebugQuery |
A struct that implements |
IncompleteDefaultInsertStatement |
The structure returned by |
IncompleteInsertStatement |
The structure returned by |
IncompleteUpdateStatement |
The type returned by |
UpdateStatement |
Traits
AsChangeset |
Types which can be passed to
|
AsQuery |
Types that can be converted into a complete, typed SQL query. This is used
internally to automatically add the right select clause when none is
specified, or to automatically add |
Changeset |
Apps should not need to concern themselves with this trait. |
IntoUpdateTarget |
A type which can be passed to |
Query |
A complete SQL query with a return type. This can be a select statement, or
a command such as |
QueryBuilder |
Apps should not need to concern themselves with this trait. |
QueryFragment |
An untyped fragment of SQL. This may be a complete SQL command (such as
an update statement without a |
QueryId |
Functions
debug_query |
Takes a query |
Type Definitions
BuildQueryResult |