News for hackers. Stuff that matters.
Re:Ask HN: Is Meteor.js still a thing? by benjaminl on Saturday November 04, 2017 @11:27AM (#15625443)
Firebase Cloud Firestore is new product from Firebas and is much more flexible than Firebase Realtime Databse.

It can do accomplish that query. From the docs a similar query:

  citiesRef
    .where("population", ">", 100000)
    .orderBy("population")
    .limit(2)
https://firebase.google.com/docs/firestore/query-data/order-...
Re:Ask HN: Is Meteor.js still a thing? by devdoomari on Saturday November 04, 2017 @11:41AM (#15625512)
if you scroll down:

citiesRef.where("population", ">", 100000).orderBy("country")

is invalid...

EDIT: sorry got confused & posted wrong example (population/population vs population / country)

Re:Ask HN: Is Meteor.js still a thing? by benjaminl on Saturday November 04, 2017 @12:31PM (#15625749)
That 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...