Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+11 votes

In my team project we are planning on inserting a large number of Call Signs into our database and I was wondering what is the best way to do that task.

asked in CSC490_Spring2019 by (1 point)

1 Answer

+5 votes

The answer is: probably you shouldn't!

If it's a large file, you should use Firebase Storage instead of the real-time database.
You can store large text files, CSV files, images, anything, up in the Storage, and it's easy to download them.

(However, if your app needs to allow users to change/modify small pieces of the file regularly, then it might make sense to store it in the Realtime Database in a structured way. In that case, you could do a big import of a JSON-formatted text file with the data inside of it.)

answered by (3.5k points)
...