public function saveRole(array $values): int
    {
        $result = $this->generalSave($values, $this->tableRole);
        $this->cache->clean([Cache::TAGS => ['DibiDriver']]);
        return $result;
    }
public function saveRole(array $values): int
    {
        $result = $this->generalSave($values, $this->tableRole);
        $this->cache->clean([Cache::TAGS => ['DibiDriver']]);
        return $result;
    }
public function saveRole ( array $ values ) : int { $ result = $ this -> generalSave ( $ values , $ this -> tableRole ) ; $ this -> cache -> clean ( [ Cache :: TAGS => [ 'DibiDriver' ] ] ) ; return $ result ; }
Save role.

@param array $values
@return int
@throws UniqueConstraintViolationException
@throws \Dibi\Exception
Save role .