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

2011-11-01 Thread AD7six
On Nov 1, 4:19 am, Ryan Schmidt wrote: > On Oct 31, 2011, at 03:16, AD7six wrote: > > > On Oct 31, 6:04 am, iphone5 wrote: > >> $this -> Question-> deleteAll( array( 'survey_question_id' => > >> $question[ 'SurveyQuestion'][ 'id' ] ) ); > >> Is there any way to show the sql code for this line?

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

2011-10-31 Thread Nitin Hittalamani
Use Debug Kit..It will help to see all the executed SQL and u will come to know ...!!! On Tue, Nov 1, 2011 at 8:49 AM, Ryan Schmidt wrote: > > On Oct 31, 2011, at 03:16, AD7six wrote: > > > On Oct 31, 6:04 am, iphone5 wrote: > >> $this -> Question-> deleteAll( array( 'survey_question_id' => > >>

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

2011-10-31 Thread Ryan Schmidt
On Oct 31, 2011, at 03:16, AD7six wrote: > On Oct 31, 6:04 am, iphone5 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 al

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

2011-10-31 Thread AD7six
On Oct 31, 6:04 am, iphone5 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

spit out the sql code just for one line?

2011-10-30 Thread iphone5
$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. -- Ou