(int $datasetId, int $recordId)
| 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 { |
nothing calls this directly
no test coverage detected