You are here

protected function Connection::generateTemporaryTableName in Drupal 8

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

Generates a temporary table name.

Return value

string A table name.

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 1351

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected function generateTemporaryTableName() {
  return "db_temporary_" . $this->temporaryNameIndex++;
}