Nick
Nick

Reputation: 3100

Firebase realtime database: Is there a way to import json without overwriting existing data?

I have a Firebase realtime database and would like to import some json. However, to import data, Firebase seems to want to delete all existing data in the database. I don't want to do that, I just want to add data by importing it. Is this possible?

;

enter image description here

Upvotes: 0

Views: 453

Answers (1)

Doug Stevenson
Doug Stevenson

Reputation: 317828

It's possible if you write code to read the JSON file and perform the necessary updates against the existing data. There is no automatic process for this.

Upvotes: 1

Related Questions