Re-exports important traits and types. Meant to be glob imported when using Diesel.
Allow two or more tables which are otherwise unrelated to be used together in a query.
Allow two tables to be referenced in a join query without providing an
Declare a sql function for use in your code.
Specifies that a table exists, and what columns it has. This will create a
new public module, with the same name, as the name of the table. In this
module, you'll find a unit struct named
A connection to a MySQL database. Connection URLs should be in the form
The connection string expected by
Connections for the SQLite backend. Unlike other backends, "connection URLs"
for SQLite are file paths, URIs, or special
Errors which can occur during
Indicates that all elements of an expression are valid given a from clause.
Types which can be passed to
Constructs a query that finds record(s) based on directional association with other record(s).
Methods present on boolean expressions
Helper trait used when boxing expressions.
A column on a database table. Types which implement this trait should have
been generated by the
A connection to a database
Represents a typed fragment of SQL.
Methods present on all expressions, except tuples
This trait indicates that a struct represents a single row in a database table.
Represents that a structure can be used to insert a new row into the
database. This is automatically implemented for
Converts a type to its representation for use in Diesel's query builder.
Indicates that two tables can be joined without an explicit
Methods present on all expressions
See the method documentation.
PostgreSQL specific methods present on array expressions.
PostgreSQL specific methods which are present on all expressions.
PostgreSQL specific methods present on range expressions.
PostgreSQL expression methods related to sorting.
PostgreSQL specific methods present on text expressions.
PostgreSQL specific methods present on timestamp expressions.
Methods used to construct select statements.
Represents a type which can appear in the
Trait indicating that a record can be queried from the database.
Deserializes the result of a query constructed with
Methods used to execute queries.
Sugar for types which implement both
Indicates that an expression can be selected from a source.
A SQL database table. Types which implement this trait should have been
generated by the
Methods present on text expressions
A specialized result type for establishing connections.
A specialized result type for queries.
Implement required traits for the associations API