Struct diesel::prelude::MysqlConnection [−][src]
pub struct MysqlConnection { /* fields omitted */ }
Expand description
A connection to a MySQL database. Connection URLs should be in the form
mysql://[user[:password]@]host/database_name
Trait Implementations
Execute multiple SQL statements within the same string. Read more
impl<Changes, Output> UpdateAndFetchResults<Changes, Output> for MysqlConnection where
Changes: Copy + Identifiable,
Changes: AsChangeset<Target = <Changes as HasTable>::Table> + IntoUpdateTarget,
Changes::Table: FindDsl<Changes::Id>,
Update<Changes, Changes>: ExecuteDsl<MysqlConnection>,
Find<Changes::Table, Changes::Id>: LoadQuery<MysqlConnection, Output>,
impl<Changes, Output> UpdateAndFetchResults<Changes, Output> for MysqlConnection where
Changes: Copy + Identifiable,
Changes: AsChangeset<Target = <Changes as HasTable>::Table> + IntoUpdateTarget,
Changes::Table: FindDsl<Changes::Id>,
Update<Changes, Changes>: ExecuteDsl<MysqlConnection>,
Find<Changes::Table, Changes::Id>: LoadQuery<MysqlConnection, Output>,
See the traits documentation.