(no title)
devdoomari | 8 years ago
e.g. can't query with age > 10 and have it sorted by age <-- (wrong example)
edit: see benjaminl's comment on the wrong example
CORRECT example: can't query with age > 10 and have it sorted by total_spent
devdoomari | 8 years ago
e.g. can't query with age > 10 and have it sorted by age <-- (wrong example)
edit: see benjaminl's comment on the wrong example
CORRECT example: can't query with age > 10 and have it sorted by total_spent
benjaminl|8 years ago
It can do accomplish that query. From the docs a similar query:
https://firebase.google.com/docs/firestore/query-data/order-...devdoomari|8 years ago
citiesRef.where("population", ">", 100000).orderBy("country")
is invalid...
EDIT: sorry got confused & posted wrong example (population/population vs population / country)
unknown|8 years ago
[deleted]