Trait prevayler_rs::TransactionWithQuery [−][src]
pub trait TransactionWithQuery<T> { type Output; fn execute_and_return(&self, data: &mut T) -> Self::Output; }
This trait is similar to the Transaction. But, it also returns a value. All the same rules of the Transaction trait must be true to a TrascationWithQuery.
A blanket implementations is done for the Transaction trait for everyone that implements TransactionWithQuery.