Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unique ID of revision? #49

Closed
tomschlick opened this issue Mar 25, 2014 · 4 comments
Closed

Unique ID of revision? #49

tomschlick opened this issue Mar 25, 2014 · 4 comments

Comments

@tomschlick
Copy link

Is there any way to get the unique ID(s) of a revision? I'm trying to link exact changes to an existing activity feed module. I realize I could query after the update but that leaves the possibility of a race condition.

From what I've seen its not built in currently but my guess is that there would have to be some kind of "batch id" in the case of multiple fields being updated at once and that id would be set as an attribute on the model.

@duellsy
Copy link
Member

duellsy commented Mar 25, 2014

Currently no, batch ID's are something that will definitely be in the next major version (2.0) and I believe there is already a fork that uses batch IDs that you might be able to use. Currently the next best option might be to use the timestamp if that's close enough.

@duellsy duellsy closed this as completed Mar 25, 2014
@tomschlick
Copy link
Author

Thanks for the quick reply. I'll take a look at the fork and see if that can solve my use case until 2.0

@duellsy
Copy link
Member

duellsy commented Mar 25, 2014

👍

@Machecek
Copy link

Machecek commented Feb 23, 2017

I have created pull which i think handles what you are asing for...

#271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants