__toString

  1. drupal
    1. drupal7
Versionen
drupal7 public DeleteQuery::__toString()

Verwandte Themen

Code

includes/database/query.inc, line 822

<?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

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen