dstore icon indicating copy to clipboard operation
dstore copied to clipboard

DStoreAdapter result updating

Open gerpres opened this issue 8 years ago • 0 comments

When using the DStoreAdapter for legacy reasons - observing the result works fine - but the result-array is not being updated if items are deleted etc. in the old store-API, the results-array is (always?) up-to-date

var dstoreadapter = new DStoreAdapter()..
ver result = dstoreadapter.query(...);
result.observe(function(item,from,to){
when(result,function(){
console.debug(result); //result must not contain the removed object
});
});
dstoreadapter.delete(...);

Am I doing something wrong?

gerpres avatar Jul 29 '16 10:07 gerpres