private function getIdIdentification(string $identification): int
    {
        $result = $this->connection->select('id')
            ->from($this->tableTranslateIdent)
            ->where(['ident' => $identification])
            ->fetchSingle();

        if (!$result) {
            $result = $this->connection->insert($this->tableTranslateIdent, [
                'ident' => $identification,
            ])->execute(Dibi::IDENTIFIER);  // must return last insert ID
        }
        return $result;
    }
private function getIdIdentification(string $identification): int
    {
        $result = $this->connection->select('id')
            ->from($this->tableTranslateIdent)
            ->where(['ident' => $identification])
            ->fetchSingle();

        if (!$result) {
            $result = $this->connection->insert($this->tableTranslateIdent, [
                'ident' => $identification,
            ])->execute(Dibi::IDENTIFIER);  // must return last insert ID
        }
        return $result;
    }
private function getIdIdentification ( string $ identification ) : int { $ result = $ this -> connection -> select ( 'id' ) -> from ( $ this -> tableTranslateIdent ) -> where ( [ 'ident' => $ identification ] ) -> fetchSingle ( ) ; if ( ! $ result ) { $ result = $ this -> connection -> insert ( $ this -> tableTranslateIdent , [ 'ident' => $ identification , ] ) -> execute ( Dibi :: IDENTIFIER ) ; // must return last insert ID } return $ result ; }
Get id identification.

@internal
@param string $identification
@return int
@throws \Dibi\Exception
Get id identification .