W3cubDocs

/Drupal 8

protected function 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]);
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Driver!pgsql!Schema.php/function/Schema::resetTableInformation/8.1.x