code: def delete_one(self, query):
          
          item = self.find_one(query)
          result = self.table.remove(where(u'_id') == item[u'_id'])
  
          return DeleteResult(raw_result=result)
docs: Deletes one document from the collection
  
          :param query: dictionary representing the mongo query
          :return: DeleteResult