Re-exports important traits and types. Meant to be glob imported when using Diesel.
Boxes the pieces of a query into a single type. This is useful for cases where you want to conditionally modify a query, but need the type to remain the same. The backend must be specified as part of this. It is not possible to box a query and have it be useable on multiple backends.
Adds a simple
Adds to the
Attempts to find a single record from the given table by primary key.
Represents that a structure can be used to to insert a new row into the
database. This is automatically implemented for
Indicates that two tables can be used together in a JOIN clause. Implementations of this trait will be generated for you automatically by the association annotations from codegen.
Sets the limit clause of a query. If there was already a limit clause, it will be overridden. This is automatically implemented for the various query builder types.
Methods to execute a query given a connection. These are automatically implemented for the various query types.
Sets the offset clause of a query. If there was already a offset clause, it will be overridden. This is automatically implemented for the various query builder types.
Sets the select clause of a query. If there was already a select clause, it
will be overridden. The expression passed to