pub async fn remove_conditionally_all<K>(
        &self,
        keys: Vec<(&K, Version)>,
        offset: i64,
    ) -> Result<(), TableError>
    where
        K: Serialize + serde::de::DeserializeOwned,
    {
        let r: Vec<(Vec<u8>, Version)> = keys
            .iter()
            .map(|(k, v)| (to_vec(k).expect("error during serialization."), *v))
            .collect();
        self.remove_raw_values(r, offset).await
    }
/// Conditionally remove keys after checking the key version. In case of a failure none of the keys
/// are removed.
Conditionally remove keys after checking the key version. In case of a failure none of the keys
are removed.
Conditionally remove keys after checking the key version . In case of a failure none of the keys are removed .
pub async fn remove_conditionally_all<K>(
        &self,
        keys: Vec<(&K, Version)>,
        offset: i64,
    ) -> Result<(), TableError>
    where
        K: Serialize + serde::de::DeserializeOwned,
    {
        let r: Vec<(Vec<u8>, Version)> = keys
            .iter()
            .map(|(k, v)| (to_vec(k).expect("error during serialization."), *v))
            .collect();
        self.remove_raw_values(r, offset).await
    }
pub async fn remove_conditionally_all < K > ( & self , keys : Vec < ( & K , Version ) > , offset : i64 , ) -> Result < ( ) , TableError > where K : Serialize + serde :: de :: DeserializeOwned , { let r : Vec < ( Vec < u8 > , Version ) > = keys . iter ( ) . map ( | ( k , v ) | ( to_vec ( k ) . expect ( " " ) , * v ) ) . collect ( ) ; self . remove_raw_values ( r , offset ) . await }
Conditionally remove keys after checking the key version.
Conditionally remove keys after checking the key version .
&self
keys
Vec<(&K, Version)>
offset
i64
&self
keys
Vec<(&K, Version)>
offset
i64