private function setManyToManyValuedCondition($association, $alias, $arr)
    {
        if (empty($this->fieldValue['value']) || $this->position < count($arr) - 2) {
            return null;
        }
        $targetField = $this->position == count($arr) - 1 ? $association['joinTable']['joinColumns'][0]['referencedColumnName'] : end($arr);

        return $this->makeExpression($targetField, $this->fieldValue['operation'], $this->fieldValue['value'], $alias);
    }