pub trait SaveChangesDsl<Conn, ST> where Conn: Connection, Conn::Backend: HasSqlType<ST> {
fn save_changes<T>(self, connection: &Conn) -> QueryResult<T> where T: Queryable<ST, Conn::Backend>;
}
Required Methods
Implementors
impl<T, ST, Conn> SaveChangesDsl<Conn, ST> for T where Conn: Connection,
Conn::Backend: HasSqlType<ST> + SupportsReturningClause,
T: Copy + AsChangeset<Target=T::Table> + IntoUpdateTarget,
Update<T, T>: LoadDsl<Conn, SqlType=ST>
impl<T, ST> SaveChangesDsl<SqliteConnection, ST> for T where Sqlite: HasSqlType<ST>,
T: Copy + Identifiable,
T: AsChangeset<Target=T::Table> + IntoUpdateTarget,
T::Table: FindDsl<T::Id, SqlType=ST>,
Update<T, T>: ExecuteDsl<SqliteConnection>,
Find<T::Table, T::Id>: LoadDsl<SqliteConnection, SqlType=ST>