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

Method delete

lib/Db/DatasetMapper.php:257–262  ·  view source on GitHub ↗

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

($id)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

eqMethod · 0.80

Tested by

no test coverage detected