Table of Contents
http://www.symfony-project.org/forum/index.php?t=msg&th=5337&
Listing 8-13 at http://www.symfony-project.org/book/trunk/08-Inside-the-Model-Layer#Retrieving%20Records%20with%20Criteria shows how to retrieve records by criteria with conditions.
However, I am not able to find the way how to limit the fields it returns. Is there any way to limit the fields of the doSelect returns?
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:
http://propel.phpdb.org/docs/api/current/runtime/propel.util/Criteria.html
documented on: 04 March 2007, mikenolan