| Versionen | |
|---|---|
| drupal7 | public DeleteQuery::__toString() |
includes/
<?php
public function __toString() {
$query = 'DELETE FROM {' . $this->connection->escapeTable($this->table) . '} ';
if (count($this->condition)) {
$this->condition->compile($this->connection);
$query .= "\nWHERE " . $this->condition;
}
return $query;
}
?>
Kommentare
Kommentar hinzufügen