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

Method createFlexible

lib/Controller/DatasetController.php:70–77  ·  view source on GitHub ↗

@param list > $columns */

(string $name, array $columns)

Source from the content-addressed store, hash-verified

68
69 /** @param list<array<string,mixed>> $columns */
70 #[NoAdminRequired]
71 public function createFlexible(string $name, array $columns): DataResponse {
72 try {
73 return new DataResponse($this->DatasetService->createFlexible($name, $columns), Http::STATUS_CREATED);
74 } catch (FlexibleStorageException $e) {
75 return $this->flexibleError($e);
76 }
77 }
78
79 /**
80 * get own dataset details

Callers

nothing calls this directly

Calls 1

flexibleErrorMethod · 0.95

Tested by

no test coverage detected