How to update Sub Query data in Lightning Component JavaScript Controller?
In the below example, I have updated the contact name to 'Testing'. Sample code: Lightning component: <aura:component implements = "force:appHostable" controller = "AccountListController"> <aura:attribute type = "object[]" name = "acctList"/> <aura:handler name = "init" value = "{!this}" action = "{!c.onInit}"/> <div class = "slds-box slds-theme_default"> <aura:iteration items = "{! v.acctList }" var = "acc"> Account Name - {! acc.Name }<br/> <aura:iteration items = "{! acc.Contacts }" var = "con"> ....