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

Model.update({ ... }, {silent: true}) #5200

Closed
a-b-r-o-w-n opened this Issue Jan 12, 2016 · 2 comments

Comments

2 participants
@a-b-r-o-w-n

a-b-r-o-w-n commented Jan 12, 2016

silent is an option when updating an instance, but not when doing bulk updates. Is it possible to do a bulk update without updating timestamps?

Model.update({ foo: 'bar' }, { silent: true });
@mickhansen

This comment has been minimized.

Contributor

mickhansen commented Jan 13, 2016

Not currently it looks like, other than using fields.

@mickhansen mickhansen added the feature label Jan 13, 2016

@mickhansen mickhansen changed the title from Model.update without updating timestamps? to Model.update({ ... }, {silent: true}) Jan 13, 2016

@a-b-r-o-w-n

This comment has been minimized.

a-b-r-o-w-n commented Jan 26, 2016

Thanks a lot! I will close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment