Skip to content

Find which items from collection have changed with lastModified #159

Closed
@xvaldetaro

Description

@xvaldetaro

Hi,

Is it possible to get which items have been modified from one lastModified call to another?

E.g.

var hash1 = DS.lastModified('document'); 
// Change some documents with update, save or inject
var hash2 = DS.lastModified('document');
DS.getModifiedItems(hash1, hash2);

Thanks a lot for the project, it is making my life much easier. I have been looking around for something like this since I saw the breeze.js video.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions