You are here

protected function Connection::generateTemporaryTableName in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::generateTemporaryTableName()

Generates a temporary table name.

Return value

string A table name.

Deprecated

in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement.

See also

https://www.drupal.org/node/3211781

3 calls to Connection::generateTemporaryTableName()
Connection::queryTemporary in core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
Runs a SELECT query and stores its results in a temporary table.
Connection::queryTemporary in core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
Runs a SELECT query and stores its results in a temporary table.
Connection::queryTemporary in core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
Runs a SELECT query and stores its results in a temporary table.

File

core/lib/Drupal/Core/Database/Connection.php, line 1726

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected function generateTemporaryTableName() {
  @trigger_error('Connection::generateTemporaryTableName() is deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. There is no replacement. See https://www.drupal.org/node/3211781', E_USER_DEPRECATED);
  return "db_temporary_" . $this->temporaryNameIndex++;
}