Schema::resetTableInformation

protected Schema::resetTableInformation($table)

Resets information about table blobs, sequences and serial fields.

Parameters

$table: The non-prefixed name of the table.

File

core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 162

Class

Schema
PostgreSQL implementation of \Drupal\Core\Database\Schema.

Namespace

Drupal\Core\Database\Driver\pgsql

Code

protected function resetTableInformation($table) {
  $key = $this->connection->prefixTables('{' . $table . '}');
  if (strpos($key, '.') === FALSE) {
    $key = 'public.' . $key;
  }
  unset($this->tableInformation[$key]);
}
doc_Drupal
2016-10-29 09:40:02
Comments
Leave a Comment

Please login to continue.