【问题标题】:Firebase realtime database: Is there a way to import json without overwriting existing data?Firebase 实时数据库:有没有办法在不覆盖现有数据的情况下导入 json?
【发布时间】:2020-05-07 23:10:59
【问题描述】:

我有一个 Firebase 实时数据库,想导入一些 json。但是,要导入数据,Firebase 似乎想删除数据库中的所有现有数据。我不想这样做,我只想通过导入来添加数据。这可能吗?

;

【问题讨论】:

    标签: json firebase firebase-realtime-database


    【解决方案1】:

    如果您编写代码来读取 JSON 文件并对现有数据执行必要的更新,这是可能的。没有自动的过程。

    【讨论】:

    • 啊,太糟糕了。不过还是谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-01-12
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多