Module diesel::prelude [−][src]
Re-exports important traits and types. Meant to be glob imported when using Diesel.
Re-exports
pub use associations::Identifiable; |
pub use connection::Connection; |
pub use deserialize::Queryable; |
pub use expression::AppearsOnTable; |
pub use expression::BoxableExpression; |
pub use expression::Expression; |
pub use expression::IntoSql; |
pub use expression::SelectableExpression; |
pub use expression_methods::*; |
pub use query_dsl::QueryDsl; |
pub use query_dsl::RunQueryDsl; |
pub use query_source::Column; |
pub use query_source::QuerySource; |
pub use query_source::Table; |
pub use result::ConnectionError; |
pub use result::ConnectionResult; |
pub use result::OptionalExtension; |
pub use result::QueryResult; |
Structs
MysqlConnection |
A connection to a MySQL database. Connection URLs should be in the form
|
PgConnection |
The connection string expected by |
SqliteConnection |
Connections for the SQLite backend. Unlike other backends, "connection URLs"
for SQLite are file paths or special identifiers like |
Traits
BelongingToDsl |
Constructs a query that finds record(s) based on directional association with other record(s). |
GroupedBy |
The |
Insertable |
Represents that a structure can be used to insert a new row into the
database. This is automatically implemented for |
JoinOnDsl |
Specify the |
JoinTo |
Indicates that two tables can be joined without an explicit |
SaveChangesDsl |
Sugar for types which implement both |