public function eq( $value1, $value2 )
    {
        $value1 = $this->getIdentifier( $value1 );
        $value2 = $this->getIdentifier( $value2 );
        return "{$value1} = {$value2}";
    }
public function eq( $value1, $value2 )
    {
        $value1 = $this->getIdentifier( $value1 );
        $value2 = $this->getIdentifier( $value2 );
        return "{$value1} = {$value2}";
    }
public function eq ( $ value1 , $ value2 ) { $ value1 = $ this -> getIdentifier ( $ value1 ) ; $ value2 = $ this -> getIdentifier ( $ value2 ) ; return "{$value1} = {$value2}" ; }
Returns the SQL to check if two values are equal.

Example:
<code>
$q = ezcDbInstance::get()->createSelectQuery();
$q->select( '*' )->from( 'table' )
->where( $q->expr->eq( 'id', $q->bindValue( 1 ) ) );
</code>

@param string $value1 logical expression to compare
@param string $value2 logical expression to compare with
@return string logical expression
Returns the SQL to check if two values are equal .