Example #1
0
 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
Example #2
0
 def delete(self, o_team):
     if isinstance(o_team, Team):
         lparam = [o_team.id]
         rep = AbstractDAO._delete(self, R_DELETE, lparam)
         return rep
Example #3
0
 def delete(self, o_match):
     if isinstance(o_match, Match):
         lparam = [o_match.id]
         rep = AbstractDAO._delete(self, R_DELETE, lparam)
         return rep
Example #4
0
 def delete(self, obj):
     if isinstance(obj, Competition):
         lparam = [obj.id]
         rep = AbstractDAO._delete(self, R_DELETE, lparam)
         return rep