function DatabaseConnection::generateTemporaryTableName

Generates a temporary table name.

Return value

A table name.

3 calls to DatabaseConnection::generateTemporaryTableName()
DatabaseConnection_mysql::queryTemporary in includes/database/mysql/database.inc
Runs a SELECT query and stores its results in a temporary table.
DatabaseConnection_pgsql::queryTemporary in includes/database/pgsql/database.inc
Runs a SELECT query and stores its results in a temporary table.
DatabaseConnection_sqlite::queryTemporary in includes/database/sqlite/database.inc
Runs a SELECT query and stores its results in a temporary table.

File

includes/database/database.inc, line 1259

Class

DatabaseConnection
Base Database API class.

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.