Skip to main content

undelete

Function undelete 

Source
pub async fn undelete(
    root: &Path,
    ancestor_cap: usize,
    namespace: &str,
    collection: &str,
    id: &str,
) -> Result<Revision>
Expand description

Restore the record at namespace/collection/id from its tombstone.

The restore is attributed to CLI_AUTHOR, the operator restoring it, rather than whoever deleted the record.