如何更新Firebase中的节点密钥? [英] How to update the node key in Firebase?
本文介绍了如何更新Firebase中的节点密钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何重命名14-04-2017
节点?
推荐答案
没有用于重命名节点的API.您必须获取节点的值,使用新名称将其保存到数据库中,然后删除旧节点.
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.
这篇关于如何更新Firebase中的节点密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文