code: func (e *engineImpl) getProjectJobs(c context.Context, projectID string) (map[string]*Job, error) {
  	q := ds.NewQuery("Job").
  		Eq("Enabled", true).
  		Eq("ProjectID", projectID)
  	entities := []*Job{}
  	if err := ds.GetAll(c, q, &entities); err != nil {
  		return nil, transient.Tag.Apply(err)
  	}
  	out := make(map[string]*Job, len(entities))
  	for _, job := range entities {
  		if job.Enabled && job.ProjectID == projectID {
  			out[job.JobID] = job
  		}
  	}
  	return out, nil
  }
docs: // getProjectJobs fetches from ds all enabled jobs belonging to a given
  // project.