-
Notifications
You must be signed in to change notification settings - Fork 1.4k
::all() returns "_id":{"$id":"51c33c7e537e07abac000004"} #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think this is the same behaviour as before, it is the MongoID object. I might take a look on how I can convert the MongoID object to string when it is used like this. |
If more people would like to see the _id MongoID object converted to a string, please let me know. |
I updated the code to hide the MongoId and MongoDate object from the user. |
Closed
This was referenced Sep 4, 2017
kargnas
added a commit
to opgginc/laravel-mongodb
that referenced
this issue
Nov 14, 2017
This was referenced Nov 26, 2018
alcaeus
added a commit
to alcaeus/laravel-mongodb
that referenced
this issue
Aug 16, 2023
* Skip MySQL tests if database is not available * Introduce tests namespace
alcaeus
added a commit
that referenced
this issue
Aug 22, 2023
* Skip MySQL tests if database is not available * Introduce tests namespace
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
since the last composer update, the ::all() method seems to return a broken _id. Here's an example code:
The code is resulting in this:
It appears to have something to do with how the actual _id from the MongoDB is being processed.
The text was updated successfully, but these errors were encountered: