@param list > $columns */
(int $datasetId, int $expectedSchemaVersion, array $columns, ?string $name = null)
| 136 | |
| 137 | /** @param list<array<string,mixed>> $columns */ |
| 138 | #[NoAdminRequired] |
| 139 | public function updateSchema(int $datasetId, int $expectedSchemaVersion, array $columns, ?string $name = null): DataResponse { |
| 140 | try { |
| 141 | return new DataResponse($this->DatasetService->updateFlexibleSchema($datasetId, $expectedSchemaVersion, $columns, $name)); |
| 142 | } catch (FlexibleStorageException $e) { |
| 143 | return $this->flexibleError($e); |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | /** @param list<array<string,mixed>> $records */ |
| 148 | #[NoAdminRequired] |
nothing calls this directly
no test coverage detected