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
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
-
Hi,
I've just upgraded my laravel version from 5.7 to 8. When using a raw query, example:
I used to get the properties of each item as arrays and objects, but they are now BSONArrays, BSONDocuments..
So if documents looked like this:
and did something like $model[0]->somearray,
It now shows like this:
Just wondering how to convert it to it's proper state again.
Beta Was this translation helpful? Give feedback.
All reactions