I have a big database in Firebase. In my opinion it's wrong structured. Trying to get a snapshot of reference, It takes too much time processing the results. However, I don't need to retrieve all data. I don't need the deepers items but I don't know how can I get the superficials.
So the structure is something like this:
clients {
1234 {
name: 'Paul',
last_name: 'Mcartney',
city: 'Liverpool',
account_movements: {
item1: {
...
}
}
}
1234 { ... }
1236 { ... }
}
Let's supose that what I need is all clientes data except his account_movements
.