Mongodb inserted model not have the id[ObjectId] #48922
-
Laravel Version10.30.1 PHP Version8.2 Database Driver & VersionMongodb 3.6 DescriptionCan not retrieve the inserted object id after calling the Steps To Reproduce
|
Beta Was this translation helpful? Give feedback.
Answered by
CheirmaDurai
Nov 7, 2023
Replies: 1 comment
-
It's working now after changed the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CheirmaDurai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's working now after changed the
jenssegers/mongodb
version to greater than4.0
fromdev-feat-dirty
. Also, renamed the package name tomongodb/laravel-mongodb
. More details