Meteor-Community-Packages / ground-db

GroundDB is a thin layer providing Meteor offline database and methods
https://atmospherejs.com/ground/db
MIT License
569 stars 76 forks source link

es2015-localforage commented out function? #137

Closed PoBuchi closed 3 months ago

PoBuchi commented 8 years ago

Is any reason why in

invalidate() {
    console.log('invalidate()', this._collection.queries)
    Object.keys(this._collection.queries)
      .forEach(key => {
        // this._collection.queries[key].changed();
      });
  }

https://github.com/GroundMeteor/db/blob/es2015-localforage/lib/client/ground.db.js#L286

is commented out? As without this line, update on doc cause error as minimongo don't understands where query disappeared :)

PoBuchi commented 8 years ago

Ok, looks like it doesn't happen all the time, trying to figure out why so

raix commented 8 years ago

I've released 2.0.0-alpha.1 Notes about the new version, migration and what it doesn't do - The issue might be resolved in that version, let me know what you think