Webservice::InterMine::Query::Roles::Listable - Trait for queries that are Listable
my $query = get_service->select("Gene.*"); my $list = $service->new_list(content => $query);
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 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.
To install Webservice::InterMine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Webservice::InterMine
CPAN shell
perl -MCPAN -e shell install Webservice::InterMine
For more information on module installation, please visit the detailed CPAN module installation guide.