You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use InteractsWithPivotTable::sync() with Support Collection. I met Column not found: 1054 Unknown column error. but, When I use Eloquent Collection with Model::get(), it's successful to insert records. What is the difference between 'Eloquent Collection' and 'Support Collection' when using InteractsWithPivotTable::sync() ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to use
InteractsWithPivotTable::sync()
with Support Collection. I metColumn not found: 1054 Unknown column
error. but, When I use Eloquent Collection withModel::get()
, it's successful to insert records. What is the difference between 'Eloquent Collection' and 'Support Collection' when usingInteractsWithPivotTable::sync()
?in Laravel 8
Beta Was this translation helpful? Give feedback.
All reactions