pub fn delete_document_return_old_synced<Old>(&self, key: DocumentKey) -> Result<Document<Old>>
    where
        Old: 'static + DeserializeOwned,
    {
        self.execute(DeleteDocumentReturnOld::new(self.name(), key).with_force_wait_for_sync(true))
    }
/// Deletes the document with the given key from this collection, waits
/// until the changes are written to disk and returns the deleted document.
Deletes the document with the given key from this collection, waits
until the changes are written to disk and returns the deleted document.
Deletes the document with the given key from this collection waits until the changes are written to disk and returns the deleted document .
pub fn delete_document_return_old_synced<Old>(&self, key: DocumentKey) -> Result<Document<Old>>
    where
        Old: 'static + DeserializeOwned,
    {
        self.execute(DeleteDocumentReturnOld::new(self.name(), key).with_force_wait_for_sync(true))
    }
pub fn delete_document_return_old_synced < Old > ( & self , key : DocumentKey ) -> Result < Document < Old > > where Old : ' static + DeserializeOwned , { self . execute ( DeleteDocumentReturnOld :: new ( self . name ( ) , key ) . with_force_wait_for_sync ( true ) ) }
Deletes the document with the given key from this collection, waits
until the changes are written to disk and returns the deleted document.
Deletes the document with the given key from this collection waits until the changes are written to disk and returns the deleted document .
&self
key
DocumentKey
&self
key
DocumentKey