MessageParamTable::deleteBatch

  1. Bitrix24 API (v. 23.675.0)
  2. im
  3. MessageParamTable
  4. deleteBatch
  • Модуль: im
  • Путь к файлу: ~/bitrix/modules/im/lib/model/messageparam.php
  • Класс: BitrixImModelMessageParamTable
  • Вызов: MessageParamTable::deleteBatch
static function deleteBatch(array $filter)
{
	$whereSql = BitrixMainEntityQuery::buildFilterSql(static::getEntity(), $filter);

	if ($whereSql <> '')
	{
		$tableName = static::getTableName();
		$connection = MainApplication::getConnection();
		$connection->queryExecute("DELETE FROM {$tableName} WHERE {$whereSql}");
	}
}

Добавить комментарий