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

Method delete

lib/Db/ReportMapper.php:340–347  ·  view source on GitHub ↗

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

($id)

Source from the content-addressed store, hash-verified

338 * @throws Exception
339 */
340 public function delete($id)
341 {
342 $sql = $this->db->getQueryBuilder();
343 $sql->delete(self::TABLE_NAME)
344 ->where($sql->expr()->eq('id', $sql->createNamedParameter($id)));
345 $sql->executeStatement();
346 return true;
347 }
348
349 /**
350 * search reports by search string

Callers 15

sidebar.jsFile · 0.45
dataset.jsFile · 0.45
panorama.jsFile · 0.45
reference.jsFile · 0.45
panoramaFilters.jsFile · 0.45
removeMethod · 0.45
$eFunction · 0.45
wsFunction · 0.45
stopFunction · 0.45
postSchemaChangeMethod · 0.45
deleteColumnMethod · 0.45

Calls 1

eqMethod · 0.80

Tested by 1