public function prepare($sql, array $parameters = []) : IQuery
    {
        return new DoctrineQuery($this, $this->doctrineConnection->prepare($sql), $parameters);
    }
public function prepare($sql, array $parameters = []) : IQuery
    {
        return new DoctrineQuery($this, $this->doctrineConnection->prepare($sql), $parameters);
    }
public function prepare ( $ sql , array $ parameters = [ ] ) : IQuery { return new DoctrineQuery ( $ this , $ this -> doctrineConnection -> prepare ( $ sql ) , $ parameters ) ; }
Creates a query with the specified sql and parameters.

@param string $sql
@param array  $parameters

@return IQuery
Creates a query with the specified sql and parameters .