Skip to main content

write_force_delete

Function write_force_delete 

Source
pub async fn write_force_delete<R: Resource>(
    cx: &Cx,
    record: &R::Model,
    ex: &mut dyn Executor,
) -> Result<(), WriteError>
Expand description

The derived force delete: removes a trashed record’s row, through ex and the tenant-scoped query, as write_delete removes one.

§Errors

WriteError::Failed for a resource the context’s panel does not mount, or the driver’s error.