2021年3月11日星期四

Is the amount of data sent from firebase limited only to the branch asked for?

There is a very large number of numerical leaves (say 1,000,000) under a branch looking like this:

  • car
    • 1
    • 2

There is no index on any part of this branch. If we ask for car/2 in this way:

let ref = Database.database().reference()  ref.child("car").child("2").observeSingleEvent(of: .value, with: {       (snapshot) in  })   

will this cause any other part of the song branch to be read other than the child '5' we asked for?

https://stackoverflow.com/questions/66590588/is-the-amount-of-data-sent-from-firebase-limited-only-to-the-branch-asked-for March 12, 2021 at 05:08AM

没有评论:

发表评论