Hi,
 
Out of the two following examples which is the most efficient code i.e.
which offers the best performance?
 
Example 1:
 
$sql = $this->select()
->from($this->_name)
->order('timestamp', 'DESC');

 

Example 2:

$sql = $this->select();
$sql->from($this->_name);
$sql->order('timestamp', 'DESC');

 

Cheers,

 

- Robert



________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs Email 
Security Service and the Macro 4 plc internal virus protection system.
________________________________________________________________________

Reply via email to