Populate records using a computed column without raw query #14338
Answered
by
ephys
joseph-hailu-dd
asked this question in
Help & Questions
-
Is there a way to update a column using a computed row like row_number() without using raw sql?
could i somehow use sequelize.changeColumn() for this instead? |
Beta Was this translation helpful? Give feedback.
Answered by
ephys
Apr 7, 2022
Replies: 1 comment
-
Unfortunately, I'm pretty sure I've seen an feature request for it, but I can't find it |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
joseph-hailu-dd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately,
UPDATE ... FROM
is not supported at all in Sequelize currently. You only solution is to use a raw query.I'm pretty sure I've seen an feature request for it, but I can't find it