private function Schema::isVariableLengthType in Drupal driver for SQL Server and SQL Azure 8
Same name and namespace in other branches
- 3.0.x drivers/lib/Drupal/Driver/Database/sqlsrv/Schema.php \Drupal\Driver\Database\sqlsrv\Schema::isVariableLengthType()
Check if a column is of variable length.
1 call to Schema::isVariableLengthType()
- Schema::calculateClusteredIndexRowSizeBytes in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php - Estimates the row size of a clustered index.
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php, line 479 - Definition of Drupal\Driver\Database\sqlsrv\Schema
Class
Namespace
Drupal\Driver\Database\sqlsrvCode
private function isVariableLengthType($type) {
$types = array(
'nvarchar' => TRUE,
'ntext' => TRUE,
'varchar' => TRUE,
'varbinary' => TRUE,
'image' => TRUE,
);
return isset($types[$type]);
}