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

Method deleteByUser

lib/Db/PanoramaMapper.php:237–244  ·  view source on GitHub ↗
(string $userId)

Source from the content-addressed store, hash-verified

235 }
236
237 public function deleteByUser(string $userId): bool
238 {
239 $sql = $this->db->getQueryBuilder();
240 $sql->delete(self::TABLE_NAME)
241 ->where($sql->expr()->eq('user_id', $sql->createNamedParameter($userId)));
242 $sql->executeStatement();
243 return true;
244 }
245
246 /**
247 * search reports by search string

Callers

nothing calls this directly

Calls 2

eqMethod · 0.80
deleteMethod · 0.45

Tested by

no test coverage detected