Code Monkey home page Code Monkey logo

Comments (5)

raix avatar raix commented on May 22, 2024

Not quilte follow, could you make a gist or other code example?

from ground-db.

raix avatar raix commented on May 22, 2024

the new ground:db now uses "stores" for storing its data - I've only written one storage adapter package "localstorage" - I've added the option to set a size limit - but havent implemented it yet.

If you only want 200 docs in each collection you could use Meteor.subscription to limit the data - theres not a "offline" subscription in ground:db - but I can see it as a nice way of limiting the data needed locally.

My intention here was actually to allow the user to set an algorithm to "weight" the importance of data - and have ground:db do its best to keep the important data offline too.

I'm keeping this issue open for further discussion

from ground-db.

nicolsondsouza avatar nicolsondsouza commented on May 22, 2024

Hi,
I learnt your code,
and I made one of mine,
It has query, limits, or in other words it can be used as any possible way,
and this code doesn't break on update.
It is someone's private code so cannot disclose,
You can mark this one as closed.

Thanks man

from ground-db.

raix avatar raix commented on May 22, 2024

ok

from ground-db.

mitiaptest avatar mitiaptest commented on May 22, 2024

Hi Raix,

We are facing same problem Do you have any idea how to fetch number of records only(with limit and skip).
If we are going to use limit query "Match error: Failed Match.OneOf or Match.Optional validation" .
Also this is working on normal web environment but not in Android application.

Please help me on it.
Thanks,

from ground-db.

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.