Trait diesel::query_dsl::UpdateAndFetchResults[][src]

pub trait UpdateAndFetchResults<Changes, Output>: Connection {
    fn update_and_fetch(&self, changeset: Changes) -> QueryResult<Output>;
}

A trait defining how to update a record and fetch the updated entry on a certain backend.

The only case where it is required to work with this trait is while implementing a new connection type. Otherwise use SaveChangesDsl

For implementing this trait for a custom backend:

Required Methods

See the traits documentation.

Implementors