Add eager fetching of relations and enable that for jobset->jobsetinputs

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy
2013-10-24 13:18:36 -04:00
parent ec6568f9b7
commit 917660442e
4 changed files with 20 additions and 5 deletions

View File

@ -153,4 +153,14 @@ __PACKAGE__->has_many(
# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-10-08 13:06:15
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+mZZqLjQNwblb/EWW1alLQ
my %hint = (
relations => {
"jobsetinputalts" => "value"
}
);
sub json_hint {
return \%hint;
}
1;

View File

@ -309,7 +309,7 @@ __PACKAGE__->has_many(
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DTAGxP5RFvcNxP/ciJGo4Q
my %hint = (
relations => {
eager_relations => {
jobsetinputs => "name"
}
);