update one field of CDT array

Hi there,

I have one CDT array

{

{a: 1,

b: "R"

},

{a: 2,

b: "E"

},

{a: 3,

b: "R"

},

}

what's the good way to update field b from "R" to "T". tried this, it does not work.

a!update(CDT.b, {1, 3}, "T")

anyone has the experience dong this?

Regards,

Lin

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data