Sephi77 Messages: 109 Registered: January 2007 Location: Switzerland
Senior Member
IMO it's possible since Symfony retrieves all the information needed to construct an object. The object's integrity wouldn't be respected if you retrieve only certain columns (some informations about the object would be missing).
mikenolan Messages: 403 Registered: October 2006 Location: Lancashire, UK
Faithful Member
You can do it with the Criteria object using clearSelectColumns() and adding the required columns back in. As Sephi77 said it won't return enough information to create a valid object so you can use MyPeer::doSelectRS() to return a result set. More info in the propel docs: