would you say that this is a workaround to normalizing a firebase database?
James Jung

I like using the REST API to pull keys, but it might make sense to build up lists of keys in some other data structure if you’re running these queries a lot.

Consider mirroring some of your data to Google Cloud Datastore. It’s not hard to do with Cloud Functions for Firebase, and once you have a collection mirrored in Datastore you get all of Datastore’s query functionality. I wouldn’t recommend doing this for all of your collections, but it can be the most performant option.

Show your support

Clapping shows how much you appreciated Chris Esplin’s story.