pub fn delete_document_if_match_synced<IfMatch>(
        &self,
        key: DocumentKey,
        if_match: IfMatch,
    ) -> Result<DocumentHeader>
    where
        IfMatch: Into<String>,
    {
        self.execute(
            DeleteDocument::new(self.name(), key)
                .with_if_match(if_match)
                .with_force_wait_for_sync(true),
        )
    }
/// Deletes the document with the given key from this collection if the
/// match condition is met and waits until the changes are written to disk.
///
/// # Arguments
///
/// * `key` : The key of the document to be deleted
/// * `if_match` : The match condition that must be met to delete the
///   document
Deletes the document with the given key from this collection if the
match condition is met and waits until the changes are written to disk.
Deletes the document with the given key from this collection if the match condition is met and waits until the changes are written to disk .
pub fn delete_document_if_match_synced<IfMatch>(
        &self,
        key: DocumentKey,
        if_match: IfMatch,
    ) -> Result<DocumentHeader>
    where
        IfMatch: Into<String>,
    {
        self.execute(
            DeleteDocument::new(self.name(), key)
                .with_if_match(if_match)
                .with_force_wait_for_sync(true),
        )
    }
pub fn delete_document_if_match_synced < IfMatch > ( & self , key : DocumentKey , if_match : IfMatch , ) -> Result < DocumentHeader > where IfMatch : Into < String > , { self . execute ( DeleteDocument :: new ( self . name ( ) , key ) . with_if_match ( if_match ) . with_force_wait_for_sync ( true ) , ) }
Deletes the document with the given key from this collection if the
match condition is met and waits until the changes are written to disk.
Deletes the document with the given key from this collection if the match condition is met and waits until the changes are written to disk .
&self
key
DocumentKey
if_match
IfMatch
&self
key
DocumentKey
if_match
IfMatch