Module diesel::query_builder
[−]
[src]
Contains traits responsible for the actual construction of SQL statements
Modules
update_statement |
Structs
IncompleteUpdateStatement |
The type returned by |
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. |
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 |
UpdateTarget |
You should not need to implement this trait.
|
Functions
delete |
Creates a delete statement. Will delete the records in the given set. Because this function has a very generic name, it is not exported by default. |
update |
Creates an update statement. Helpers for updating a single row can be
generated by
|
Type Definitions
BuildQueryResult |