Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
datamanager.php
1<?php
10
13
14class DataManager extends Entity\DataManager
15{
16 public static function deleteList(array $filter)
17 {
18 $entity = static::getEntity();
19 $connection = $entity->getConnection();
20
21 return $connection->query(sprintf(
22 'DELETE FROM %s WHERE %s',
23 $connection->getSqlHelper()->quote($entity->getDbTableName()),
24 Query::buildFilterSql($entity, $filter)
25 ));
26 }
27}