Sitelet https://web.archive.org/web/20201204181702im_/https://github.com/sequelize/sequelize/pull/12585
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

Expose beforeUpsert/afterUpsert hooks, plain model query #12585

Open
wants to merge 3 commits into
base: v6
from

Conversation

@arsonik
Copy link

@arsonik arsonik commented Aug 4, 2020

Description of change

Allow Typescript users to use beforeUpsert and afterUpsert in their model hooks !

arsonik added 2 commits Aug 4, 2020
@codecov
Copy link

@codecov codecov bot commented Aug 4, 2020 •

Codecov Report

Merging #12585 into v6 will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##               v6   #12585   +/-   ##
=======================================
  Coverage   96.44%   96.44%           
=======================================
  Files          95       95           
  Lines        9162     9162           
=======================================
  Hits         8836     8836           
  Misses        326      326           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 490db41...fd035e2. Read the comment docs.

Returns a single model
@arsonik arsonik changed the title Expose beforeUpsert & afterUpsert in hooks.d.ts Expose beforeUpsert/afterUpsert hooks, plain model query Aug 11, 2020
@brenwell
Copy link

@brenwell brenwell commented Sep 18, 2020

I will be looking forward to this, thanks

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

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.