Ejemplo n.º 1
0
 def delete(self, del_id):
     try:
         del_count = CabMember.delete().where(CabMember.uid == del_id)
         del_count.execute()
         return True
     except:
         return False
Ejemplo n.º 2
0
 def delete(self, del_id):
     try:
         del_count = CabMember.delete().where(CabMember.uid == del_id)
         del_count.execute()
         return True
     except:
         return False
Ejemplo n.º 3
0
 def delete_by_user_name(self, user_name):
     try:
         del_count = CabMember.delete().where(CabMember.user_name == user_name)
         del_count.execute()
         return True
     except:
         return False
Ejemplo n.º 4
0
 def delete_by_user_name(self, user_name):
     try:
         del_count = CabMember.delete().where(
             CabMember.user_name == user_name)
         del_count.execute()
         return True
     except:
         return False