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 <[email protected]>wrote: > > On Oct 31, 2011, at 03:16, AD7six wrote: > > > On Oct 31, 6:04 am, iphone5 <[email protected]> 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. > > Since you seem to know it, what is the entire answer? Are you suggesting > he should set debug=2 and just ignore all the other lines in the output > that he's not interested in, or is there a more direct answer to his > question hidden in your reply? > > > > -- > 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 > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- Thanks and Regards, Nitin Hittalamani. -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
