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

Method create

lib/Service/DataloadService.php:75–81  ·  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

73 * @throws \OCP\DB\Exception
74 */
75 public function create($datasetId, int $datasourceId)
76 {
77 if (empty($this->DatasetService->readOwn((int)$datasetId))) {
78 return 0;
79 }
80 return $this->DataloadMapper->create((int)$datasetId, $datasourceId);
81 }
82
83 /**
84 * 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