I'm trying to execute this:
$q = Doctrine_Query::create()
->select('MAX(s.ID) AS max')
->from('stuff s')
->execute();
I'm getting: No description for object of class "stuff". What am I doing wrong?
I just find it. It was fetchOne() instead of execute(). Thanks.