• Модуль: perfmon
  • Путь к файлу: ~/bitrix/modules/perfmon/lib/sql/index.php
  • Класс: BitrixPerfmonSqlIndex
  • Вызов: Index::getDropDdl
public function getDropDdl($dbType = '')
{
	switch ($dbType)
	{
	case "MYSQL":
		return "DROP INDEX ".$this->name." ON ".$this->parent->name;
	case "MSSQL":
		return "DROP INDEX ".$this->name." ON ".$this->parent->name;
	case "ORACLE":
		return "DROP INDEX ".$this->name;
	default:
		return "// ".get_class($this).":getDropDdl for database type [".$dbType."] not implemented";
	}
}