如何从Firebase实时数据库导出数据? [英] How do I export data from Firebase Realtime Database?
本文介绍了如何从Firebase实时数据库导出数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Firebase进行开发,并将数据存储在实时数据库中.我需要在Stack Overflow上共享一个问题的数据库结构,或者在进行重大更改之前先备份一下.如何使用Firebase控制台执行此操作?
I am developing with Firebase and have data stored in the Realtime Database. I need to share my database structure for a question here on Stack Overflow, or just take a backup before making breaking changes. How can I do this using the Firebase Console?
推荐答案
数据可以从Firebase实时数据库作为JSON导出:
Data can be exported from the Firebase Realtime Database as JSON:
- 登录到Firebase控制台的数据库"部分.
- 通过在列表中单击导航到要导出的节点(跳过此节点以导出所有数据).
- 单击数据面板右上角的三点溢出菜单图标.
-
从菜单中单击
Export JSON
.
- Login to the Database section of the Firebase Console.
- Navigate to the node you wish to export by clicking on it in the list (skip this to export all data).
- Click the 3-dot overflow menu icon, at the top-right of the data panel.
Click
Export JSON
from the menu.
同样,您可以使用Import JSON
以相同的方式导入结构.
Likewise, you can import a structure in the same fashion, using Import JSON
.
这篇关于如何从Firebase实时数据库导出数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文