How to update the node key in Firebase?

此生再无相见时 提交于 2019-12-25 14:41:07

问题


How to rename the 14-04-2017 node?


回答1:


There is no API to rename a node. You'll have to get the values of the node, save it to your DB using the new name and delete the old node.



来源:https://stackoverflow.com/questions/43510725/how-to-update-the-node-key-in-firebase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!