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

Method deleteThresholdByReport

lib/Db/ThresholdMapper.php:138–145  ·  view source on GitHub ↗

* @throws Exception */

($reportId)

Source from the content-addressed store, hash-verified

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

Callers 2

deleteMethod · 0.80
deleteByUserMethod · 0.80

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected