A typical Developer Blog
by Gordon Franke
Icon

How can i check the count of database queries in my unit test?

1
2
3
$manager    = new sfDatabaseManager($configuration);
$connection = $manager->getDatabase('doctrine')->getDoctrineConnection();
$connection->count();

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Author:

Category: doctrine, symfony, Uncategorized

Tagged: , , , ,

Leave a Reply

CommentLuv badge