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

Method deleteRecord

lib/Controller/DatasetController.php:171–180  ·  view source on GitHub ↗
(int $datasetId, int $recordId)

Source from the content-addressed store, hash-verified

169 }
170
171 #[NoAdminRequired]
172 public function deleteRecord(int $datasetId, int $recordId): DataResponse {
173 try {
174 $result = $this->FlexibleStorageService->deleteRecord($datasetId, $recordId);
175 $this->DatasetService->provider($datasetId);
176 return new DataResponse($result);
177 } catch (FlexibleStorageException $e) {
178 return $this->flexibleError($e);
179 }
180 }
181
182 #[NoAdminRequired]
183 public function query(int $datasetId): DataResponse {

Callers

nothing calls this directly

Calls 2

flexibleErrorMethod · 0.95
providerMethod · 0.45

Tested by

no test coverage detected