简体   繁体   English

我如何在 Excel 工作表中导出我的 Firebase 数据

[英]How I export my Firebase data in Excel Sheet

I want my Firebase database in Excel sheets.我想要我的 Firebase 数据库在 Excel 张中。 I have all these children: Names , Branch , Batch , College as attributes of all users.我有所有这些孩子: NamesBranchBatchCollege作为所有用户的属性。 I want to export these in Excel Sheets.我想在 Excel 表中导出这些。

Here's an example of items in the database:这是数据库中项目的示例:

火力地堡数据库

And this is how I want the Excel Sheet to look:这就是我希望 Excel 工作表的外观:

Excel表格

Export your firebase to JSON. 将您的firebase导出为JSON。 Just click the settings on the right of your database. 只需单击数据库右侧的设置即可。

在此输入图像描述

Then, convert the JSON to CSV. 然后,将JSON转换为CSV。 There are a lot of csv converter online. 网上有很多csv转换器。 You can try https://json-csv.com/ . 您可以尝试https://json-csv.com/ Save the csv and open with Excel. 保存csv并使用Excel打开。

在firebase数据库中,您可以看到导出到JSON文件,导出时将其下载然后使用在线转换器更改为excel文件。

I would like to explain more Since its unclear to some people. 我想解释更多因为有些人不清楚。 Step 1. Select Realtime Database (You won't find any download button in Cloud Firestore). 步骤1.选择实时数据库(您不会在Cloud Firestore中找到任何下载按钮)。 for that, Select Database > Realtime Database 为此,选择数据库>实时数据库 在此输入图像描述

Step 2. In there, you'll find a three-dotted button in the right top corner. 第2步。在那里,你会在右上角找到一个三点式按钮。 Select your option (Import/ Export) 选择您的选项(导入/导出)

在此输入图像描述

All the answers here are mentioning online converter tools.这里的所有答案都提到了在线转换器工具。 You can also use Excel's built-in data importer.您还可以使用 Excel 的内置数据导入器。 I found it useful when I have to export it in a excel table.当我必须将它导出到 excel 表中时,我发现它很有用。

Say I have the following data:假设我有以下数据: 在此处输入图像描述

Similar like other answers, click the triple dot > Export JSON..与其他答案类似,单击三点 > 导出 JSON..

Then, open Excel. Go to Data > Get Data > From File... > From JSON然后,打开Excel。Go到数据>获取数据>从文件...>从JSON

导入 JSON

Then, click on Into Table然后,点击进入表格

入表

Click, Close and Load单击、关闭并加载

关闭并加载

Result:结果:

结果excel

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Firebase | 谷歌表 | 应用脚本 | 如何将列中的数据而不是行中的数据从 Firebase 保存到 Google 表格? - Firebase | Google Sheet | App Script | How do I save the data in column instead of row from Firebase to Google Sheet? 如何将我的 AAB 从 Firebase 应用分发导出到 Play 商店? - How can I export my AAB from Firebase app distribution to Play store? 如何将所有 firestore 数据导出到 csv 的 excel? - How export all firestore data to excel of csv? 将 amazon mysql 数据库导出到 excel 表 - Export amazon mysql database to an excel sheet 如何将我的应用程序从 firebase 获取的数据设置到我的 bottomSheetView? (科特林) - How can I set the fetched data of my app from firebase to my bottomSheetView? (Kotlin) 如何从 Firebase Analytics 导出所有原始数据 - How to export all raw data from Firebase Analytics 如何将我的数据(在键:值对中)推送到 android 中的 Firebase 实时数据库中? - How do I push my data (in key:value pair) into my Firebase realtime database in android? 如何将数据从 Firebase Firestore 模拟器导出到实际的 Firebase Firestore 数据库 - How to export data from Firebase Firestore emulator to actual Firebase Firestore database Firebase crashlytics 将数据导出到大查询 - Firebase crashlytics export data to big query 当我尝试将数据上传到 firebase 时,它没有上传? - When I am trying to upload my data to firebase it is not uploading?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM