-
when we say Model.query.create() if we had any conflicts we can give like on conflicts and there we can handle it by updateing that would be an alternative to get_or_create |
Beta Was this translation helpful? Give feedback.
Answered by
tarsil
Aug 9, 2024
Replies: 1 comment 4 replies
-
Do you mean something like update_or_create? |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
devkral
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you mean something like update_or_create?