-
Hello, I am trying to perform a simple mass update I am getting this error message: I don't really understand what the message means by "column was updated and is being used at the same time", apart the fact that the column "google_id" is present in both the first and the second argument at the same time. Which makes no sens to me unless there's something I am missing. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
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