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
Post a Comment