C2FO / patio

Idiomatic database toolkit

Home Page:http://c2fo.github.io/patio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eager loading - possible to eager load at the query level?

babsonmatt opened this issue · comments

commented

Is it possible to specify what associations to eager load at the query level, as opposed to in the model association definition?

Thanks!

The dataset and model are pretty decoupled at this point which would make something like difficult at this point since the dataset has no notion of associations. Would you mind providing an example of how you would like the syntax of something like this to look?

@doug-martin. Is there anything to follow up on here?

I know this is crazy old, but we just added this.