"vendor/bin/doctrine:query:sql" 'SELECT * FROM users' code example
Example: doctrine orm get all
$records = $em->getRepository("Entities\YourTargetEntity")->findAll();
$records = $em->getRepository("Entities\YourTargetEntity")->findAll();