pub fn delete_document_if_match<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))
    }
/// Deletes the document with the given key from this collection if the
/// match condition is met.
///
/// # 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.
Deletes the document with the given key from this collection if the match condition is met .
pub fn delete_document_if_match<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))
    }
pub fn delete_document_if_match < 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 ) ) }
Deletes the document with the given key from this collection if the
match condition is met.
Deletes the document with the given key from this collection if the match condition is met .
&self
key
DocumentKey
if_match
IfMatch
&self
key
DocumentKey
if_match
IfMatch