MichaelSolati / geofirestore-js

Location-based querying and filtering using Firebase Firestore.
https://geofirestore.com
MIT License
504 stars 58 forks source link

Inequality #92

Closed ghost closed 5 years ago

ghost commented 5 years ago

I know this is related to https://github.com/geofirestore/geofirestore-js/issues/78 but is there no way around this? How would I achieve something similar?

this.queueRef
            .where('d.timeRequested', '>', moment().subtract(1, "days").toDate())
            .near({
                center: new firebase.firestore.GeoPoint(this.currentLocation.latitude, this.currentLocation.longitude),
                radius: 1 // km
            })

Thanks!

MichaelSolati commented 5 years ago

Unfortunately no, not at this time at least. There are unfortunately still some limitations to Firestore 😕