source/Spiral/ORM/Entities/Nodes/PivotedRootNode.php
protected function duplicateCriteria(array &$data)
    {
        $pivotData = $data[ORMInterface::PIVOT_DATA];

        //Unique row criteria
        return $pivotData[$this->innerPivotKey] . '.' . $pivotData[$this->outerPivotKey];
    }
protected function duplicateCriteria(array &$data)
    {
        $pivotData = $data[ORMInterface::PIVOT_DATA];

        //Unique row criteria
        return $pivotData[$this->innerPivotKey] . '.' . $pivotData[$this->outerPivotKey];
    }
protected function duplicateCriteria ( array & $ data ) { $ pivotData = $ data [ ORMInterface :: PIVOT_DATA ] ; //Unique row criteria return $ pivotData [ $ this -> innerPivotKey ] . '.' . $ pivotData [ $ this -> outerPivotKey ] ; }
De-duplication in pivot tables based on values in pivot table.

@param array $data

@return string
De - duplication in pivot tables based on values in pivot table .