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