Example #1
0
 /**
  * Parses DELETE statement.
  * @return string
  */
 protected function parseDeleteStmt()
 {
     $sql = parent::parseDeleteStmt();
     return $this->updateLimit ? $this->applyLimit($sql . $this->clauses[3]) : $sql;
 }
Example #2
0
File: pdo.php Project: smasty/neevo
 /**
  * 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);
 }