2008年7月30日星期三

Re: [fw-db] SQL debug please

Tobias Gies wrote:
>
> This option already exists. Check the manual for the Zend_Db_Profiler.
>
> Best regards
> Tobias
>
>

I'd like to debug queries that are causing exceptions (i.e. my SQL is
broken) how do I see the SQL that is being generated here?

For example, I think I have a bug where it is replacing '?' with an odd
value which is causing invalid SQL, but all I get is an exception and no
db_profile sql... :-(

Thanks,

monk.e.boy
--
View this message in context: http://www.nabble.com/SQL-debug-please-tp18728846p18731637.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: