Adding getConnection() in order to use Doctrine to query the DB.

Adding Doctrine query examples.