Le 14/12/2016 à 19:37, Werliton Carlos a écrit :

Hello, I'm new to using doctrine. I am using doctrine 2 and I have a small problem: when I make a query the data is returned, but it is displayed at the top of the page the complete sql of the sql. How do I not display this sql?

I suspect that you have registered the EchoSqlLogger in your DBAL connection. This is the effect of this logger: it displays the query when it is executed. This is a pure debugging tool (and using a Logger implementation sending the query to a log file is probably a much better idea).

--
Christophe | Stof

--
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to