Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

firestore query filter by date in firebase console

I am wondering how to filter firebase firestore by date field, as I can't see data type other than String, Number, Boolean

As below, please advice if someone find a way to filter firestore collection based on date field.

enter image description here

like image 839
Fahad Avatar asked Jan 26 '21 02:01

Fahad


People also ask

How do you filter data in firebase realtime database?

We can filter data in one of three ways: by child key, by key, or by value. A query starts with one of these parameters, and then must be combined with one or more of the following parameters: startAt , endAt , limitToFirst , limitToLast , or equalTo .


1 Answers

I think it's not possible at the moment. I found this documentation on GCP which is practically the same UI. There is a little bit about filtering, but not many details.

I think that this UI is just for support/test purposes not for everyday use so such feature is not really needed. It's working with API with no problem ( you can check example in JS in this SO question).

If you need this feature you should raise a Feature Request here.

like image 157
vitooh Avatar answered Oct 18 '22 22:10

vitooh