Monday, October 31, 2011

Re: spit out the sql code just for one line?

On Oct 31, 6:04 am, iphone5 <sk.koiz...@gmail.com> wrote:
> $this -> Question-> deleteAll( array( 'survey_question_id' =>
> $question[ 'SurveyQuestion'][ 'id' ] ) );
> Is there any way to show the sql code for this line?
> I know if I turn on the debug = 2 it will show all the sql code for
> the whole page but I just want to do it for a single line of code.

You put half the answer in the question.

AD

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: