Basically, need to query from a different level of Firebase data tree like below.
0--data00
|-1-data10
|-data11
|-2-dat20
child node can be data or next level node, so have to use one query path per level, but want to display and update all in one tableview
as
data00
data10
data11
data20
so far I only find 1 query to 1 tableview binding
self.dataSource = self.tableView.bind(to: query) { tableView, indexPath, snapshot in
let cell = tableView.dequeueReusableCell(withIdentifier: "reuseIdentifier", for: indexPath)
/* populate cell */
return cell
}
I did try loop thru an array of query and bind, but only the last query data is displayed on the tableview