SyntaxFix
Write A Post
Hire A Developer
Questions
You can also get the number of data by using the count function.
$query = $this->dm->createQueryBuilder('AppBundle:Items') ->field('isDeleted')->equals(false) ->getQuery()->count();