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

Method getDataloadById

lib/Db/DataloadMapper.php:214–222  ·  view source on GitHub ↗

* get data load by id * @param int $dataloadId * @return array */

(int $dataloadId)

Source from the content-addressed store, hash-verified

212 * @return array
213 */
214 public function getDataloadById(int $dataloadId) {
215 $sql = $this->db->getQueryBuilder();
216 $sql->from(self::TABLE_NAME)->select('*')->where($sql->expr()
217 ->eq('id', $sql->createNamedParameter($dataloadId)));
218 $statement = $sql->executeQuery();
219 $result = $statement->fetch();
220 $statement->closeCursor();
221 return $result;
222 }
223
224 public function readOwnById(int $dataloadId) {
225 $sql = $this->db->getQueryBuilder();

Callers 1

getDataloadMetadataMethod · 0.80

Calls 2

eqMethod · 0.80
fetchMethod · 0.80

Tested by

no test coverage detected