Skip to content

It appears that an Eloquent Model's column was updated and is being used at the same time for mass filtering #4

Answered by iksaku
mondersky asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @mondersky.

It looks like you're trying to update an Eloquent Model to assign a new value to a column while also using that same value as a partitioning key. In order to prevent execution errors, we don't allow such strategy.

Would you mind sharing the actual piece of code you are trying to execute? This error will only appear when passing an array of models instead of a raw array of values.

Regards

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mondersky
Comment options

Answer selected by mondersky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants