topclaudy / compoships

Multi-columns relationships for Laravel's Eloquent ORM
MIT License
1.1k stars 130 forks source link

Possible/How to support sync, attach, detach? #157

Open zhiyong-ft opened 1 year ago

zhiyong-ft commented 1 year ago

Hi,

Eloquent itself supports attach/detach/sync on many-to-many relationships. Is it possible to support those functions with multiple column keys? I briefly went through the code, they seem not supported for now.

I may have missed something, so please advise.

Thanks, ZL

parallels999 commented 1 year ago

Hi, feel free to open a PR to make it possible, thanks