This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have a relationship table that has a Parent and a Child reference to another table. When both of these references are being eager loaded at the same time an unnessessary SQL statement is produced: SELECT
Obviously all results from Category only need to be selected once. |
|
|
Thanks for drawing this to our attention. I've logged a bug for it, but we're unlikely to address it immediately, because in the general case both Category queries are required (if there was a Where clause in your query, then the parent and child queries would be different), and it's non-trivial for us to special-case the 'find all' scenario. If it's causing a significant impact, let us know and we'll review. |
|
|
Its not important. |
|