code: func (mc MongoClient) getRegistrations(q bson.M) ([]models.Registration, error) {
  	s := mc.getSessionCopy()
  	defer s.Close()
  
  	var regs []models.Registration
  	err := s.DB(mc.database.Name).C(db.ExportCollection).Find(q).All(&regs)
  	if err != nil {
  		return []models.Registration{}, errorMap(err)
  	}
  
  	return regs, nil
  }
docs: // Get registrations for the passed query