Not updating integer key #3335
Replies: 2 comments
-
Thanks a lot. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this code in my old version of jenseger/mongo
$employee = Employee::findById($user_id, true);
$employee->{'38'} = 'Php';
$employee->save();
And was updating fine,
But now i have upgraded to the latest versions laravel-mongodb with php8.3 and Lumen 10
This code is not working insted it update the 0 index of record.
How to solve this problem. please suggest as i have a big database with numeric keys
Beta Was this translation helpful? Give feedback.
All reactions