The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Webservice::InterMine::Query::Roles::Listable - Trait for queries that are Listable

SYNOPSIS

  my $query = get_service->select("Gene.*");
  my $list = $service->new_list(content => $query);

DESCRIPTION

This role provides an implementation of the required get_list_request_parameters method of the more general Listable role for queries. It also provides a mechanism for creating a valid list query from a multi-noded query by indicating the appropriate path.

get_list_request_parameters

Get the parameters to pass to the service for list requests.

make_list_query($path): Listable

Make a listable query from a multi-node query, by selecting the path whose values should be included in the new list.

The path need not be in the current select list.

This method deals with ensuring the result set does not change due to changes in the select list.

Returns a Listable Webservice::InterMine::Query.