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

Method delete

lib/Db/ReportMapper.php:334–341  ·  view source on GitHub ↗

* delete report * @param $id * @return bool * @throws Exception */

($id)

Source from the content-addressed store, hash-verified

332 * @throws Exception
333 */
334 public function delete($id)
335 {
336 $sql = $this->db->getQueryBuilder();
337 $sql->delete(self::TABLE_NAME)
338 ->where($sql->expr()->eq('id', $sql->createNamedParameter($id)));
339 $sql->executeStatement();
340 return true;
341 }
342
343 /**
344 * search reports by search string

Callers 15

sidebar.jsFile · 0.45
dataset.jsFile · 0.45
panorama.jsFile · 0.45
removeMethod · 0.45
$eFunction · 0.45
wsFunction · 0.45
stopFunction · 0.45
postSchemaChangeMethod · 0.45
deleteThresholdMethod · 0.45
deleteShareMethod · 0.45

Calls

no outgoing calls

Tested by 1