def delete(self):
        if not self.id:
            return
        self.collection.remove({'_id': self._id})
        self.on_delete(self)
Remove from database.
dataset/ETHPy150Open tevino/mongu/mongu.py/Model.delete