Пример #1
0
 /**
  * Parses DELETE statement.
  * @return string
  */
 protected function parseDeleteStmt()
 {
     $sql = parent::parseDeleteStmt();
     return $this->updateLimit ? $this->applyLimit($sql . $this->clauses[3]) : $sql;
 }
Пример #2
0
 /**
  * Parses DELETE statement.
  * @return string
  */
 protected function parseDeleteStmt()
 {
     $sql = parent::parseDeleteStmt();
     if ($this->driverName === 'mysql') {
         return $this->applyLimit($sql . $this->clauses[3]);
     }
     return $sql;
 }
 public function tryDelimite($expr)
 {
     return parent::tryDelimite($expr);
 }