Hi suppose i have a mysql query like this
select * from table where (lat between 123 and 456) or (lng between 231 and 456)
what will the firebase equivalent for this query
dummy data in firebase looks something like this
[
1:{
con:"something",
lat: 124,
lng: 232
},
2:{
con:"something",
lat: 121,
lng: 230
},
3:{
con:"something",
lat: 124,
lng: 230
}
]
The query should return the first and the third object i.e
[
1:{
con:"something",
lat: 124,
lng: 232
},
3:{
con:"something",
lat: 124,
lng: 230
}
]