Firebase Data Retrieval

Asked 1 years ago, Updated 1 years ago, 39 views

As the title says, I am having trouble getting information about the realtime database.
Specifically, I'd like to go get information on the top tier of the json tree, but I can't get the data by specifying the value because I setValue the value created by the random function.
By the way, regarding the swift, please let me know if there is any good way.

swift xcode firebase

2022-09-30 17:11

1 Answers

The Realtime Database is a JSON tree, so if you specify a random value in the top tier, it will be difficult to handle. The Realtime Database can be exported in Json format, so it would be faster to recreate it.

Also, CloudFirestore will be officially released soon.CloudFirestore provides more flexibility in searching than Realtime Database because you can search by index as well as by main key.Depending on the data, why don't you consider migrating to Cloud Firestore as well?


2022-09-30 17:11

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.