def delete_by_field(self, table: str, field: str, value: Any) -> int:
        """Deletes all records where "field" is "value"."""
        sql = ("DELETE FROM " + self.delimit(table) +
               " WHERE " + self.delimit(field) + "=?")
        return self.db_exec(sql, value)
Deletes all records where "field" is "value".