We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Hot to unbind related data?

I have a n-n related models like Robots, Parts, RobotParts.

for Example bot1 have parts: head, hand, body, foot.

how can i unbind bot1's head relationship and not to delete parts "head"?

edited May '16

You need to delete RobotParts intermediate record.