Public feed #890774

Stuff

public text v1 · immutable
Raw Edit
·published 2008-02-04 01:45 UTC
rendered paste body
$widgets = Doctrine_Query::create()
	->select('w.*, p.*, COUNT(p.partid) count')
	->from('Widget w')
	->leftJoin('w.Parts p')
	->groupBy('w.widgetid')
	->orderBy('count')
	->execute();