Skip to content

DStoreAdapter result updating #191

@gerpres

Description

@gerpres

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions