Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
mrraindrop555 opened this issue Apr 11, 2024 · 1 comment
Open

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.

@hans-thomas
Copy link
Contributor

hans-thomas commented Sep 27, 2024

Hi @mrraindrop555, I can't reproduce the error that you mentioned. please give me an example.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants