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

1
2
3
4
5
6
7
protected function resetTableInformation($table) {
  $key = $this->connection->prefixTables('{' . $table . '}');
  if (strpos($key, '.') === FALSE) {
    $key = 'public.' . $key;
  }
  unset($this->tableInformation[$key]);
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.