Example #1
0
 /**
  * @return string
  * @throws Exception
  */
 public function __toString()
 {
     if (!isset($this->_blocks['select'])) {
         $this->select('*');
     }
     return $this->_explain . 'SELECT ' . parent::__toString();
 }
Example #2
0
 /**
  * @return string
  * @throws Exception
  */
 public function __toString()
 {
     return 'DELETE ' . parent::__toString();
 }
Example #3
0
 /**
  * @return string
  * @throws Exception
  */
 public function __toString()
 {
     return $this->_type . ' ' . parent::__toString();
 }
Example #4
0
 /**
  * @return string
  * @throws Exception
  */
 public function __toString()
 {
     return 'UPDATE ' . parent::__toString();
 }