Skip to content

add options.silent support for Instance increment and decrement. - #6795

Merged
janmeier merged 1 commit into
sequelize:masterfrom
iyuq:master
Nov 7, 2016
Merged

janmeier merged 1 commit into
sequelize:masterfrom
iyuq:master

Conversation

@iyuq

@iyuq iyuq commented Nov 3, 2016 •

Copy link
Copy Markdown
Contributor

Thanks for wanting to fix something on Sequelize - we already love you long time! Please delete this text and fill in the template below. If unsure about something, just do as best as you're able.

If your PR only contains changes to documentation, you may skip the template below.

Pull Request check-list

Please make sure to review and check all of these items:

  • [√ ] Does npm run test or npm run test-DIALECT pass with this change (including linting)?
  • Does your issue contain a link to existing issue (Closes #[issue]) or a description of the issue you are solving?
  • [√] Have you added new tests to prevent regressions?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Have you added an entry under Future in the changelog?

NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open.

Description of change

add options.silent support for Instance increment and decrement method, so you can use

user.increment('count', {silent: true})

to prevent update the updatedAt field.

But I got a error run npm run docs, so I don't update the docs, please help me do this.
Same as PR #6379 except it is on master branch.

@mention-bot

Copy link
Copy Markdown

@iyuq, thanks for your PR! By analyzing the history of the files in this pull request, we identified @felixfbecker, @mbroadst and @BridgeAR to be potential reviewers.

@codecov-io

Copy link
Copy Markdown

Current coverage is 94.50% (diff: 100%)

Merging #6795 into master will not change coverage

Powered by Codecov. Last update aa13dc6...588a605

@janmeier
janmeier merged commit 38a1026 into sequelize:master Nov 7, 2016
janmeier added a commit that referenced this pull request Nov 7, 2016
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

Successfully merging this pull request may close these issues.

6 participants