Пример #1
0
 /**
  * @return string
  */
 public function toString()
 {
     return 'UPDATE ' . $this->tableName . ' ' . parent::toString();
 }
Пример #2
0
 /**
  * @return string
  */
 public function toString()
 {
     $sql = parent::toString();
     return 'DELETE FROM ' . $this->tableName . ($sql ? ' ' . $sql : '');
 }
Пример #3
0
 /**
  * @return string
  */
 public function toString()
 {
     $result = 'INSERT INTO ' . $this->tableName;
     $result .= ' ' . parent::toString();
     return $result;
 }