--
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glorp-group...@googlegroups.com.
To post to this group, send email to glorp...@googlegroups.com.
Visit this group at https://groups.google.com/group/glorp-group.
To view this discussion on the web visit https://groups.google.com/d/msgid/glorp-group/212f6892-ae48-479b-b411-b149494208d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes, it's definitely possible. Look for sends of alsoFetch: inside descriptors in the tests.
On Thu, 6 Jun 2019 at 09:31, Jan van de Sandt <jvds...@gmail.com> wrote:
Hello list,--With a query you can use the alsoFetch: method to "eager load" related objects. Is it possible to specify a mapping so that Glorp does this by default?My Model is something like this:Class A ----(*)--> Class B ----(1)--> Class CClass A has a collection of B instances and each B instance refers to exactly one C instance. What I would like to have is that when Glorp loads the the collection of B instances for an A instance it also loads the C instances using a join query.Cheers,Jan.
You received this message because you are subscribed to the Google Groups "glorp-group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glorp...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to glorp-group...@googlegroups.com.
To post to this group, send email to glorp...@googlegroups.com.
Visit this group at https://groups.google.com/group/glorp-group.
To view this discussion on the web visit https://groups.google.com/d/msgid/glorp-group/6a324a5a-5131-448f-ba80-722d51dfdb34%40googlegroups.com.