You are here

public function Connection::isTemporaryTable in Drupal driver for SQL Server and SQL Azure 3.0.x

Is this table a temporary table?

The table name.

Return value

bool True is the table is a temporary table.

1 call to Connection::isTemporaryTable()
Connection::tablePrefix in drivers/lib/Drupal/Driver/Database/sqlsrv/Connection.php
Adding logic for temporary tables.

File

drivers/lib/Drupal/Driver/Database/sqlsrv/Connection.php, line 839

Class

Connection
Sqlsvr implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function isTemporaryTable($table) {
  return stripos($table, 'db_temporary_') !== FALSE;
}