Say I have a couple objects, having a one-to-many relationship, something like
class Parent():
//id, other cols, etc
children = relationship(\"Child\
You try to get two answers in one query. Either you can ask for all parents that have a type-a-child or you can ask for all type-a-children. In the first case, you have to filter the children again, if you want the corresponding children, in the second case you can simple get the corresponding parents. But which way is the correct one, depends on the further problem, you try to solve.