mongodb / laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

Home Page:https://www.mongodb.com/compatibility/mongodb-laravel-integration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mrraindrop555 opened this issue · comments

  • 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.