* delete dataset * @param $id * @return bool * @throws Exception */
($id)
| 255 | * @throws Exception |
| 256 | */ |
| 257 | public function delete($id): bool { |
| 258 | $sql = $this->db->getQueryBuilder(); |
| 259 | $sql->delete(self::TABLE_NAME)->where($sql->expr()->eq('id', $sql->createNamedParameter($id))); |
| 260 | $sql->executeStatement(); |
| 261 | return true; |
| 262 | } |
| 263 | |
| 264 | /** |
| 265 | * get the newest timestamp of the data of a dataset |