All,
I’m working on my grocery list app (yes, the one that could have been last week’s WDC submission). I have a firebase data structure like:
User/Lists/List_name/Meal_name/Peaches/sku: 01234
/quantity: 2
/Beans /sku: 54321
/quantity: 1
My problem is that I’d like to let users change the name of an ingredient (i.e. Peaches to Ripe Peaches). I can’t for the life of me figure out how to do that with Firebase, except to copy everything under the Peaches node to Ripe Peaches and then delete the Peaches node.
Is there a better way?