I don't understand why I should use a query! I already have an instance of the object fetched from the repo but its attributes are not resolved when read from an iterator block: I can't pick up the one I want. These attributes are not root, to the contrary to what I wrote initially.
Hilaire Le 03/03/2017 à 12:29, Esteban Lorenzano a écrit : > if you have objects in memory you can do > > MyRoot selectAll select: [ :each | whateverYouWantBecauseYouAreInPharo ]. > > but if you do > > MyRoor selectMany: [ :each | … here you need to apply a mongo query, you will > not have the objects until query is executed and result is retrieved ] > > Esteban -- Dr. Geo http://drgeo.eu