Esempio n. 1
0
 def remove_comment(id):
     return Database.remove(collection='comments', query={'_id': id})
Esempio n. 2
0
 def remove_post(id):
     return Database.remove(collection='posts', query={'_id': id})