|
|
|
|
|
by kbenson
4827 days ago
|
|
I've fallen head over heels for (Perl's) DBIx::Class and it's ability to "prefetch" joined data[1]. In short, it will populate the top level objects, as well as the items they join to from a single query (yes the DB will have to send duplicate info). I find it really convenient. Recently I've wondered what other ORMs support this feature or something similar to it. Anyone care to comment? [1] https://metacpan.org/module/DBIx::Class::ResultSet#prefetch |
|
[1] http://stackoverflow.com/questions/1299374/what-is-eager-loa...
[2] https://docs.djangoproject.com/en/dev/ref/models/querysets/#...
[3] http://nhforge.org/blogs/nhibernate/archive/2008/09/06/eager...
[4] http://guides.rubyonrails.org/active_record_querying.html#ea...
[5] http://stackoverflow.com/questions/97197/what-is-the-n1-sele...