MCPcopy Create free account
hub / github.com/Rello/analytics / deleteThresholdByReport

Method deleteThresholdByReport

lib/Db/ThresholdMapper.php:140–147  ·  view source on GitHub ↗

* @throws Exception */

($reportId)

Source from the content-addressed store, hash-verified

138 * @throws Exception
139 */
140 public function deleteThresholdByReport($reportId)
141 {
142 $sql = $this->db->getQueryBuilder();
143 $sql->delete(self::TABLE_NAME)
144 ->where($sql->expr()->eq('report', $sql->createNamedParameter($reportId)));
145 $sql->executeStatement();
146 return true;
147 }
148
149 /**
150 * Update the sequence of one threshold

Callers 2

deleteMethod · 0.80
deleteByUserMethod · 0.80

Calls 2

eqMethod · 0.80
deleteMethod · 0.45

Tested by

no test coverage detected