Comments (10)
from geofirestore-js.
With the current setup I found the library using, if am storing the geofirestore locations on the same collection as my documents, doing a query will return all documents which match, but on large collections the results may be huge. Will we be seeing some kind of pagination or something similar soon? . Am already using this awesome lib in production
from geofirestore-js.
It's in my plans for version 2.0.0 or 2.1.0 However there will be a lot of changes come 2.x.x, so keep that in mind.
from geofirestore-js.
I also am interested in additional querying capability. I have a tight timeline for an app I'm trying to develop, so I might create a fork and give it a shot. Would love to hear if you already have any ideas on implementation, but I'll probably try to allow access to the generated query somehow. I think query criteria are chainable in Firestore?
Anyway, thanks so much for developing this library! Looks like you've put quite a bit of work in!
from geofirestore-js.
Any of you already started working on this? If not, I might take a shot at it, being able to limit the query in order to not exhaust my spark limits within a couple of hours will be critical for me.
from geofirestore-js.
@MvRemmerden Haven't had a chance yet -- go for it!
from geofirestore-js.
That looks amazing, will be the first thing I'm going to test tomorrow morning. Thanks!
from geofirestore-js.
I'm actually struggling a bit to get this implemented, would it be possible to post a quick example of how to do this?
from geofirestore-js.
@MvRemmerden I've had to make a few changes, but if you wanted to test it now you can npm i MichaelSolati/geofirestore/v2.1.0
. Note that for your query functions you'll need to refer to the field in your object starting with d.
and index your database on that field.
You may wanna peak at this query and this index
from geofirestore-js.
Custom queries should now be working! Try npm i [email protected]
It'll be worth reading the docs here
from geofirestore-js.
Related Issues (20)
- Paginating data after fetched HOT 1
- Question - how can I find near documents with each unique radius? HOT 11
- How to write to firestore after geofirestore query HOT 1
- can't write to firestore properly after geofirestore query HOT 1
- StartAt or startAfter support HOT 1
- Query speed HOT 6
- Custom document key HOT 1
- Geoqueries with additional queries? HOT 3
- When querying `near`: `distance` prop is missing when distance is 0 HOT 1
- Support for Firebase JS SDK 9 HOT 9
- customKey not working on read HOT 10
- Pass a custom document ID HOT 1
- Query returning zero results when filtering with where HOT 8
- Support for new firestore 9.x? HOT 1
- runTransaction on a collection (server-side using cloud functions) HOT 1
- firebase geofirestore v9 not working HOT 1
- Bug double removed on a marker HOT 1
- Geofirestore and onSnapshot are giving delayed events - information is not updating properly
- Unsubscribe from GeoQuery.onSnapshot on document deletion HOT 1
- Typescript errors when trying to deploy function HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geofirestore-js.