propel - Debugging Query execution in PHP -


i have code:

$room_chan = roomchannelquery::create()   ->filterbychannel($hotel_channel->getchannel())   ->filterbyroom($res_room->getroom())   ->findonebyidcamera($res_room->getroom()->getid()); 

how can view query execution in php ?

what mean query execution ?

if mean, dumping sql, can done :

$params = array(); $sql    = basepeer::createselectsql($room_chan, $params); var_dump($sql); 

or

var_dump($room_chan->tostring()); 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -