Skip to main content

IntoTransactionAction

Trait IntoTransactionAction 

Source
pub trait IntoTransactionAction<A: DinocoAdapter> {
    // Required method
    fn into_transaction_action(self) -> TransactionAction<A>;
}

Required Methods§

Implementors§

Source§

impl<A, M> IntoTransactionAction<A> for Count<M>
where A: DinocoAdapter + Send + Sync + 'static, M: Model + Send + Sync + 'static,

Source§

impl<A, M> IntoTransactionAction<A> for DeleteMany<M>
where A: DinocoAdapter + Send + Sync + 'static, M: Model + Send + Sync + 'static,

Source§

impl<A, M> IntoTransactionAction<A> for FindAndUpdate<M>
where A: DinocoAdapter + Send + Sync + 'static, M: FindAndUpdateModel + Send + Sync + 'static,

Source§

impl<A, M, S> IntoTransactionAction<A> for FindFirst<M, S>
where A: DinocoAdapter + Send + Sync + 'static, M: Model + Send + Sync + 'static, S: Projection<M> + Send + Sync + 'static,

Source§

impl<A, M, S> IntoTransactionAction<A> for FindMany<M, S>
where A: DinocoAdapter + Send + Sync + 'static, M: Model + Send + Sync + 'static, S: Projection<M> + Send + Sync + 'static,

Source§

impl<A, M, V> IntoTransactionAction<A> for Insert<M, V>
where A: DinocoAdapter + Send + Sync + 'static, M: InsertModel + Projection<M> + Send + Sync + 'static, V: InsertPayload<M> + Send + 'static, <V as InsertPayload<M>>::Nested: Send + 'static,

Source§

impl<A, M, V> IntoTransactionAction<A> for InsertMany<M, V>
where A: DinocoAdapter + Send + Sync + 'static, M: InsertModel + Projection<M> + Send + Sync + 'static, V: InsertPayload<M> + Send + 'static, <V as InsertPayload<M>>::Nested: Send + 'static,

Source§

impl<A, M, V> IntoTransactionAction<A> for Update<M, V>
where A: DinocoAdapter + Send + Sync + 'static, M: UpdateModel + Send + Sync + 'static, V: UpdatePayload<M> + Send + Sync + 'static,

Source§

impl<A, M, V> IntoTransactionAction<A> for UpdateMany<M, V>
where A: DinocoAdapter + Send + Sync + 'static, M: UpdateModel + Send + Sync + 'static, V: UpdatePayload<M> + Send + Sync + 'static,