atk4\data\Join_Array::doDelete PHP Method

doDelete() public method

public doDelete ( $model, $id )
    public function doDelete($model, $id)
    {
        if ($this->weak) {
            return;
        }
        $persistence = $this->persistence ?: $this->owner->persistence;
        $persistence->delete($model, $this->id, $this->foreign_table);
        $this->id = null;
    }