Model.update has no replacements
?
#17266
Unanswered
1valdis
asked this question in
Help & Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Consider the following code:
This will not work because unfortunately here I cannot pass
replacements
along withwhere
in theUpdateOptions
, unlike if that would be afindAll
. So instead I have to sanitize responsibleEmployeeId myself and pass it into the template string? Is there a better way? Is it worth doing feature request?Beta Was this translation helpful? Give feedback.
All reactions