You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do a this.store.query('model',{filter: filter}) , it will add a record to my model. However, if I rerun the query inside the session, it won't add a record. These records aren't saved, but somewhere, it's doing a store.createRecord('model',filter). Running with debug messages, it shows the correct record count, however.
So if I did a store.findAll('model') which returned 1. Then ran a store.query..., findAll would return 2. Running the store.query... again, findAll would return 2 still. If I reloaded the page, findAll would return 1 again, as it should.
I'm thinking I'm missing a critical concept of couchDB/pouchDB.
The text was updated successfully, but these errors were encountered:
In version 4.2.6 released today we Fixed a queryRecord deprecation. It does not seem to be related to this issue but just to be sure update to this version. Perhaps we need to setup a https://ember-twiddle.com/ to see this issue.
I'm going nuts trying to debug this.
When I do a
this.store.query('model',{filter: filter})
, it will add a record to my model. However, if I rerun the query inside the session, it won't add a record. These records aren't saved, but somewhere, it's doing astore.createRecord('model',filter)
. Running with debug messages, it shows the correct record count, however.So if I did a
store.findAll('model')
which returned 1. Then ran astore.query...
, findAll would return 2. Running thestore.query...
again, findAll would return 2 still. If I reloaded the page, findAll would return 1 again, as it should.I'm thinking I'm missing a critical concept of couchDB/pouchDB.
The text was updated successfully, but these errors were encountered: