Trying to do a fairly simple query in Propel 2. I have a Person table and a Possession table – persons can have many possessions but only one of each possession type. So a person can have 1 book, 1 car, etc. I’m trying to write a query in Propel that will return all persons along with their car name
Tag: propel
How to ignore fields when fetching results using Propel?
I need to ignore fields instead of select fields in fetch data or reverse select fields. Is that possible? If yes, how? Answer Regarding to the documentation, it’s not possible: http://propelorm.org/reference/model-criteria.html#getting-columns-instead-of-objects But you can do it on your own. Built an array of your fields (based on your peer class) and remove those you don’t need when you build your