* delete report * @param $id * @return bool * @throws Exception */
($id)
| 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 |
no outgoing calls