| Versionen | |
|---|---|
| drupal7 | public InsertQuery_sqlite::__toString() |
includes/
<?php
public function __toString() {
// Produce as many generic placeholders as necessary.
$placeholders = array_fill(0, count($this->insertFields), '?');
return 'INSERT INTO {' . $this->table . '} (' . implode(', ', $this->insertFields) . ') VALUES (' . implode(', ', $placeholders) . ')';
}
?>
Kommentare
Kommentar hinzufügen