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

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

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

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

a-b-r-o-w-n opened this issue Jan 12, 2016 · 2 comments
Labels
type: feature For issues and PRs. For new features. Never breaking changes.

Comments

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

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
Copy link
Contributor

mickhansen commented Jan 13, 2016

Not currently it looks like, other than using fields.

@mickhansen mickhansen added the type: feature For issues and PRs. For new features. Never breaking changes. label Jan 13, 2016
@mickhansen mickhansen changed the title Model.update without updating timestamps? Model.update({ ... }, {silent: true}) Jan 13, 2016
@a-b-r-o-w-n
Copy link
Author

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
Labels
type: feature For issues and PRs. For new features. Never breaking changes.
Projects
None yet
Development

No branches or pull requests

2 participants