Using mappings on WHERE and DELETE statements