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

Method create

lib/Service/DataloadService.php:79–85  ·  view source on GitHub ↗

* create a new data load * * @param $datasetId * @param $reportId * @param int $datasourceId * @return int * @throws \OCP\DB\Exception */

($datasetId, int $datasourceId)

Source from the content-addressed store, hash-verified

77 * @throws \OCP\DB\Exception
78 */
79 public function create($datasetId, int $datasourceId)
80 {
81 if (empty($this->DatasetService->readOwn((int)$datasetId))) {
82 return 0;
83 }
84 return $this->DataloadMapper->create((int)$datasetId, $datasourceId);
85 }
86
87 /**
88 * get all data loads for a dataset or report

Callers

nothing calls this directly

Calls 1

readOwnMethod · 0.45

Tested by

no test coverage detected