public static function Utils::IsTextType in Drupal driver for SQL Server and SQL Azure 8.2
If this data type contains text.
Parameters
string $type:
2 calls to Utils::IsTextType()
- Schema::processField in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php - Set database-engine specific properties for a field.
- Utils::convertTypes in drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Utils.php - Gets the statement needed to convert one type to another
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Utils.php, line 156
Class
Namespace
Drupal\Driver\Database\sqlsrvCode
public static function IsTextType($type) {
return in_array(static::GetMSSQLType($type), array(
'char',
'varchar',
'text',
'nchar',
'nvarchar',
'ntext',
));
}