try :
->columns(array('num' => new \Zend\Db\Sql\Expression('COUNT(*)')));-- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Zend-Framework-2-and-SELECT-count-query-tp4658383p4658386.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
