I got stuck on querying. I want to query a post based on "Time and Number of Likes" but not figuring out how to query on firebase. Example :
Query mquery =FireBaseDatabase() getReference().getinstance()
.child("post").
orderedbychild("likes").startAt(30)
JSON Structure
post
fubeukdo8r7yjdjehbdjjd
message : "hello"
likes : 40
timestamp : 4 june 2019
pcjhuwnd783nhdjhbdhj
message : "hi there "
likes : 30
timestamp : 1 june 2019
tyjggjkshhx92u79p093
message : "how r u"
likes : 25
timestamp : 2 june 2019
qeldhkdlje8fhj00jdkjeh
message : "all is well"
likes : 20
timestamp : 1 june 2019
here i want of only todays post with more than 30 likes.....so you have any idea how we can solve this problem on firebase