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