essential_builder_db

Function delete_solutions

source
pub fn delete_solutions(
    tx: &Transaction<'_>,
    cas: impl IntoIterator<Item = ContentAddress>,
) -> Result<()>
Expand description

Delete the solutions with the given CAs from the database if they exist.

This also deletes all submissions associated with the specified solutions.