74 $tableName = static::getTableName();
75 $connection = Main\Application::getConnection();
76 $helper = $connection->getSqlHelper();
79 foreach ($filter as $key => $value)
81 $where[] = $helper->prepareAssignment($tableName, $key, $value);
83 $where = implode(
' AND ', $where);
87 $quotedTableName = $helper->quote($tableName);
88 $connection->queryExecute(
"DELETE FROM {$quotedTableName} WHERE {$where}");