Giter VIP home page Giter VIP logo

Comments (10)

MichaelSolati avatar MichaelSolati commented on June 9, 2024 2

Oh... What's this?

from geofirestore-js.

KelvinPac avatar KelvinPac commented on June 9, 2024

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.

MichaelSolati avatar MichaelSolati commented on June 9, 2024

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.

ZenPylon avatar ZenPylon commented on June 9, 2024

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.

MvRemmerden avatar MvRemmerden commented on June 9, 2024

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.

ZenPylon avatar ZenPylon commented on June 9, 2024

@MvRemmerden Haven't had a chance yet -- go for it!

from geofirestore-js.

MvRemmerden avatar MvRemmerden commented on June 9, 2024

That looks amazing, will be the first thing I'm going to test tomorrow morning. Thanks! 😃

from geofirestore-js.

MvRemmerden avatar MvRemmerden commented on June 9, 2024

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.

MichaelSolati avatar MichaelSolati commented on June 9, 2024

@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.

MichaelSolati avatar MichaelSolati commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.