Example #1
0
File: post.py Project: zgwdg/white
 def delete(self, page_id):
     return db.delete(self.table).condition('pid', page_id).execute()
Example #2
0
File: meta.py Project: lf8289/white
 def delete(self, meta):
     return db.delete(self.table).codition('mid', meta.mid)
Example #3
0
 def delete(self, comment_id):
     """Delete category by commment id"""
     return db.delete(self.table).condition('cid', comment_id).execute()
Example #4
0
 def delete(self, extend):
     """Delete category by extend"""
     return db.delete(self.table).condition('eid', extend.eid).execute()
Example #5
0
 def delete(self, meta):
     return db.delete(self.table).codition('mid', meta.mid)
Example #6
0
File: user.py Project: lf8289/white
 def delete(self, user):
     return db.delete(self.table).condition('uid', user.uid).execute()
Example #7
0
 def delete(self, pair):
     return db.delete(self.table).condition('key', pair.key).condition('type', pair.type).execute()
Example #8
0
 def delete(self, category_id):
     """Delete category by category id"""
     return db.delete(self.table).condition('cid', category_id).execute()
Example #9
0
 def delete(self, user):
     return db.delete(self.table).condition('uid', user.uid).execute()
Example #10
0
File: page.py Project: lf8289/white
 def delete(self, page_id):
     return db.delete(self.table).condition('pid', page_id).execute()
     
Example #11
0
File: pair.py Project: zgwdg/white
 def delete(self, pair):
     return db.delete(self.table).condition('key', pair.key).condition(
         'type', pair.type).execute()
Example #12
0
 def delete(self, extend):
     """Delete category by extend"""
     return db.delete(self.table).condition('eid', extend.eid).execute()