Skip to content

Nested arrays #20

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

Closed
ezsil opened this issue Aug 15, 2013 · 4 comments
Closed

Nested arrays #20

ezsil opened this issue Aug 15, 2013 · 4 comments

Comments

@ezsil
Copy link

ezsil commented Aug 15, 2013

Is there any way to use the 'push' command to add objects to an existing array field? This is crucial in working with MongoDB to deal with nesting.

@jenssegers
Copy link
Contributor

This is currently not support because I try to follow the original Eloquent interface and methods. I might add an additional method for this functionality though.

@jenssegers
Copy link
Contributor

I added push-support in the latest version. Will add support for set and pull soon.

@jenssegers
Copy link
Contributor

@ezsil
Copy link
Author

ezsil commented Aug 15, 2013

That's awesome! Thanks so much

alcaeus pushed a commit to alcaeus/laravel-mongodb that referenced this issue Aug 16, 2023
mnphpexpert added a commit to mnphpexpert/laravel-mongodb that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants