function Connection::generateTemporaryTableName
Same name in other branches
- 8.9.x 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/
modules/ sqlite/ src/ Driver/ Database/ sqlite/ Connection.php - Runs a SELECT query and stores its results in a temporary table.
- Connection::queryTemporary in core/
modules/ mysql/ src/ Driver/ Database/ mysql/ Connection.php - Runs a SELECT query and stores its results in a temporary table.
- Connection::queryTemporary in core/
modules/ pgsql/ src/ Driver/ Database/ pgsql/ Connection.php - Runs a SELECT query and stores its results in a temporary table.
File
-
core/
lib/ Drupal/ Core/ Database/ Connection.php, line 1790
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
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++;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.