def delete(self, o_goals): """ Delete Goals Object :param o_goals: Goals Object :return: boolean, result of operation """ if isinstance(o_goals, Goals): lparam = [o_goals.id] rep = AbstractDAO._delete(self, R_DELETE, lparam) return rep
def delete(self, o_team): if isinstance(o_team, Team): lparam = [o_team.id] rep = AbstractDAO._delete(self, R_DELETE, lparam) return rep
def delete(self, o_match): if isinstance(o_match, Match): lparam = [o_match.id] rep = AbstractDAO._delete(self, R_DELETE, lparam) return rep
def delete(self, obj): if isinstance(obj, Competition): lparam = [obj.id] rep = AbstractDAO._delete(self, R_DELETE, lparam) return rep