public function Connection::isTemporaryTable in Drupal driver for SQL Server and SQL Azure 4.2.x
Same name and namespace in other branches
- 3.1.x src/Driver/Database/sqlsrv/Connection.php \Drupal\sqlsrv\Driver\Database\sqlsrv\Connection::isTemporaryTable()
- 4.0.x src/Driver/Database/sqlsrv/Connection.php \Drupal\sqlsrv\Driver\Database\sqlsrv\Connection::isTemporaryTable()
- 4.1.x src/Driver/Database/sqlsrv/Connection.php \Drupal\sqlsrv\Driver\Database\sqlsrv\Connection::isTemporaryTable()
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 src/
Driver/ Database/ sqlsrv/ Connection.php - Adding logic for temporary tables.
File
- src/
Driver/ Database/ sqlsrv/ Connection.php, line 767
Class
- Connection
- Sqlsvr implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\sqlsrv\Driver\Database\sqlsrvCode
public function isTemporaryTable($table) {
return stripos($table, 'db_temporary_') !== FALSE;
}