Skip to content
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

BelongsToMany detach() doesn't remove id from both collections #2848

Open
mrraindrop555 opened this issue Apr 11, 2024 · 0 comments
Open

BelongsToMany detach() doesn't remove id from both collections #2848

mrraindrop555 opened this issue Apr 11, 2024 · 0 comments

Comments

@mrraindrop555
Copy link

mrraindrop555 commented Apr 11, 2024

  • Laravel-mongodb Version: 4.2
  • PHP Version: 8.3.4

Description:

When I call detach() on a BelongsToMany relationship, The ids are only removed from the collection it has a relationship with.

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

1 participant