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

Method create

lib/Controller/DataloadController.php:47–51  ·  view source on GitHub ↗

* create a new dataload * * @param $datasetId * @param int $datasourceId * @return DataResponse * @throws \OCP\DB\Exception */

($datasetId, int $datasourceId)

Source from the content-addressed store, hash-verified

45 * @throws \OCP\DB\Exception
46 */
47 #[NoAdminRequired]
48 public function create($datasetId, int $datasourceId): DataResponse
49 {
50 return new DataResponse(['id' => $this->DataloadService->create($datasetId, $datasourceId)]);
51 }
52
53 /**
54 * get all data loads for a dataset or report

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected