App-DGIPUtils
view release on metacpan or search on metacpan
lib/App/DGIPUtils/Table.pm view on Meta::CPAN
=pod
=encoding UTF-8
=head1 NAME
App::DGIPUtils::Table - List classes of products/services recognized by DGIP
=head1 VERSION
This document describes version 0.001 of App::DGIPUtils::Table (from Perl distribution App-DGIPUtils), released on 2023-07-05.
=head1 FUNCTIONS
=head2 list_dgip_classes
Usage:
list_dgip_classes(%args) -> [$status_code, $reason, $payload, \%result_meta]
List classes of productsE<sol>services recognized by DGIP.
REPLACE ME
This function is not exported by default, but exportable.
Arguments ('*' denotes required arguments):
=over 4
=item * B<class> => I<str>
Only return records where the 'class' field equals specified value.
=item * B<class.contains> => I<str>
Only return records where the 'class' field contains specified text.
=item * B<class.in> => I<array[str]>
Only return records where the 'class' field is in the specified values.
=item * B<class.is> => I<str>
Only return records where the 'class' field equals specified value.
=item * B<class.isnt> => I<str>
Only return records where the 'class' field does not equal specified value.
=item * B<class.max> => I<str>
Only return records where the 'class' field is less than or equal to specified value.
=item * B<class.min> => I<str>
Only return records where the 'class' field is greater than or equal to specified value.
=item * B<class.not_contains> => I<str>
Only return records where the 'class' field does not contain specified text.
=item * B<class.not_in> => I<array[str]>
Only return records where the 'class' field is not in the specified values.
=item * B<class.xmax> => I<str>
Only return records where the 'class' field is less than specified value.
=item * B<class.xmin> => I<str>
Only return records where the 'class' field is greater than specified value.
=item * B<description> => I<str>
Only return records where the 'description' field equals specified value.
=item * B<description.contains> => I<str>
Only return records where the 'description' field contains specified text.
=item * B<description.in> => I<array[str]>
Only return records where the 'description' field is in the specified values.
=item * B<description.is> => I<str>
Only return records where the 'description' field equals specified value.
=item * B<description.isnt> => I<str>
Only return records where the 'description' field does not equal specified value.
=item * B<description.max> => I<str>
Only return records where the 'description' field is less than or equal to specified value.
=item * B<description.min> => I<str>
Only return records where the 'description' field is greater than or equal to specified value.
=item * B<description.not_contains> => I<str>
Only return records where the 'description' field does not contain specified text.
=item * B<description.not_in> => I<array[str]>
Only return records where the 'description' field is not in the specified values.
=item * B<description.xmax> => I<str>
Only return records where the 'description' field is less than specified value.
=item * B<description.xmin> => I<str>
Only return records where the 'description' field is greater than specified value.
=item * B<detail> => I<bool> (default: 0)
Return array of full records instead of just ID fields.
By default, only the key (ID) field is returned per result entry.
=item * B<exclude_fields> => I<array[str]>
Select fields to return.
=item * B<fields> => I<array[str]>
Select fields to return.
=item * B<queries> => I<array[str]>
Search.
This will search all searchable fields with one or more specified queries. Each
query can be in the form of C<-FOO> (dash prefix notation) to require that the
fields do not contain specified string, or C</FOO/> to use regular expression.
All queries must match if the C<query_boolean> option is set to C<and>; only one
query should match if the C<query_boolean> option is set to C<or>.
=item * B<query_boolean> => I<str> (default: "and")
Whether records must match all search queries ('and') or just one ('or').
If set to C<and>, all queries must match; if set to C<or>, only one query should
match. See the C<queries> option for more details on searching.
=item * B<random> => I<bool> (default: 0)
Return records in random order.
=item * B<result_limit> => I<int>
Only return a certain number of records.
=item * B<result_start> => I<int> (default: 1)
Only return starting from the n'th record.
=item * B<sort> => I<array[str]>
Order records according to certain field(s).
A list of field names separated by comma. Each field can be prefixed with '-' to
specify descending order instead of the default ascending.
( run in 2.157 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )