No documentation on how to update values in an array of subdocuments
codeliger opened this issue · 2 comments
codeliger commented
No documentation on how to update values in an array of subdocuments
luke-robertson commented
r.table(...).get(...).update({
contacts: r.row('Contacts').changeAt(0,
r.row('Contacts').nth(0).merge({feedback: "NICE"}))
})
something like this ?
srh commented
You have to construct a new array -- you can't update individual values.