Symfony and Doctrine 1.0: How can i get the SQL clause of a Doctrine_Query object?

Posted by user248959 on Stack Overflow See other posts from Stack Overflow or by user248959
Published on 2010-05-05T11:53:58Z Indexed on 2010/05/05 11:58 UTC
Read the original article Hit count: 301

Filed under:
|
|

Hi,

i have this code:

  $this->lista_miembros = $this->filtro->buildQuery($valores_query);
  var_dump($this->lista_miembros);

var_dump outputs a Doctrine_Query object:

object(Doctrine_Query)[121]
protected '_subqueryAliases' => array

How can i get the SQL clause of that Doctrine_Query object?

Javi

© Stack Overflow or respective owner

Related posts about symfony

Related posts about doctrine