3 ms·
if you scroll down: citiesRef.where("population", ">", 100000).orderBy("country") is invalid... EDIT: sorry got confused & posted wrong example (population/p
by devdoomari 9y ago
if you scroll down:
citiesRef.where("population", ">", 100000).orderBy("country")
is invalid...
EDIT: sorry got confused & posted wrong example
(population/population vs population / country)
- benjaminl 9y agoThat is interesting. The examples show this limitation. > Invalid: Range filter and first orderBy on different fields But I can’t find any documentation on what exactly the limitations on orderBy are. The reference docs on queries don’t mention any limitations on order_by: https://cloud.google.com/firestore/docs/reference/rpc/google.firestore.v1beta1#google.firestore.v1beta1.StructuredQuery https://cloud.google.com/firestore/docs/reference/rpc/google...