We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
array
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
casts
I expected it to save as a MongoDB array.
It saved as a PHP string representation of an array.
The text was updated successfully, but these errors were encountered:
You can omit the array cast and don't apply any cast to the field. MongoDB natively stores PHP arrays as BSON Array or Document.
We could do something to modify the behavior of this cast and make it no-op.
Tracking this feature request PHPORM-305.
Sorry, something went wrong.
No branches or pull requests
Description:
Steps to reproduce
casts
method defined asarray
Expected behaviour
I expected it to save as a MongoDB array.
Actual behaviour
It saved as a PHP string representation of an array.
Logs:
Insert log.txt here (if necessary)The text was updated successfully, but these errors were encountered: