makeSequenceName

  1. drupal
    1. drupal7
Versionen
drupal7 public DatabaseConnection::makeSequenceName($table, $field)

Create the appropriate sequence name for a given table and serial field.

This information is exposed to all database drivers, although it is only useful on some of them. This method is table prefix-aware.

Übergabeparameter

$table The table name to use for the sequence.

$field The field name to use for the sequence.

Rückgabewert

A table prefix-parsed string for the sequence name.

Verwandte Themen

Code

includes/database/database.inc, line 525

<?php
public function makeSequenceName($table, $field) {
  return $this->prefixTables('{' . $table . '}_' . $field . '_seq');
}
?>

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