Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3257

Does store.flush update the local created entity

$
0
0

Hi Experts,

 

Can store.flush updates the local created entity with the key? I don't see that store.refresh refreshes the with new entries (if exists) in the backend, but I want my locally created entry need to be updated as my the local record will have temporary key assigned(within the program) where as when it sent to backend new number(key) will be generated.

 

Is there a way to update the local created record? or delete from the local record if flush was successful.

 

Regards,

Murthy


Viewing all articles
Browse latest Browse all 3257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>