I have the following DB structure, then I need get data filtered by "date" field. How do I do that?
root {
places {
$placeUid {
$bookingUid {
date: String
name: String
}
}
}
}
My query looks like that, and it doesn't work:
refPlaces = Firebase.database.getReference("places")
refPlaces.orderByChild("date").equalTo("14.10.2020").addValueEventListener(…)