syncano-node icon indicating copy to clipboard operation
syncano-node copied to clipboard

Method: computed

Open Idered opened this issue 8 years ago • 0 comments

Computed method would be run for each element returned from list(). Result of computed would be assigned to each of returned objects.

data.profiles
  .computed(profile=> ({
    full_name: `${profile.first_name} ${profile.last_name}`
  }))
  .list()

/cc @mkucharz

Idered avatar Nov 09 '17 16:11 Idered