pub trait TableWrite: TableInstance {
    fn delete<'life0, 'async_trait>(
        &'life0 self,
        txn_id: TxnId,
        key: Key
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn update<'life0, 'async_trait>(
        &'life0 self,
        txn_id: TxnId,
        key: Key,
        values: Row
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn upsert<'life0, 'async_trait>(
        &'life0 self,
        txn_id: TxnId,
        key: Key,
        values: Values
    ) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Table write methods

Required Methods

Delete the given Row from this table, if present.

Update one row of this table.

Insert or update the given row.

Implementors