October: Defer a relation unbinding

Created on 13 Mar 2020  路  1Comment  路  Source: octobercms/october

In the doc Defer a relation unbinding is written, that there is a method called delete with deffered binding. But this doesn't work, the item will delete directly and I can't find the method in

vendor/october/rain/src/Database/Relations/HasOneOrMany.php
Is that a bug in the code or a doc issue?

Completed Question

Most helpful comment

@hackolein The issue is the method should be remove, not delete. I've resolved this in the docs.

>All comments

@hackolein The issue is the method should be remove, not delete. I've resolved this in the docs.

Was this page helpful?
0 / 5 - 0 ratings