Using SELECT COUNT

Jun 23, 2011 at 6:14 PM

Hi,

I was wondering how can I write in PHPLinq a query using COUNT? Something like:

SELECT COUNT(cars.id) AS total_cars FROM cars

 

Thanks!