code: func (b *buildEntity) Load(pm datastore.PropertyMap) error {
  	if p, ok := pm["id"]; ok {
  		b.SetMeta("id", p.Slice()[0].Value())
  	}
  
  	if p, ok := pm["data"]; ok {
  		data, err := p.Slice()[0].Project(datastore.PTBytes)
  		if err != nil {
  			return err
  		}
  		build := (*buildbot.Build)(b)
  		if err := decode(build, data.([]byte)); err != nil {
  			return err
  		}
  		promoteLogdogAliases(build)
  	}
  
  	return nil
  }
docs: // Load loads b from the datastore property map.
  // Also promotes LogDog links.