这是我的学说在编写查询时抛出的错误
[Semantical Error] line 0, col 971 near '(\n ': Error: Class '(' is not defined.
如何在我的学说写作风格中检测出错发生的确切位置,简而言之,如何阅读此错误?
$qb1 = $this->_em->createQueryBuilder();
$qb1->select('
count(case when (boolShit) then id end)
')
->from(someTable);
$qb1->getQuery()->getResult();