Integration Server 10.5 | Built-In Services Reference Guide | GraphQL Folder | Summary of Elements in this Folder | pub.graphql:loadMany
 
pub.graphql:loadMany
WmPublic. Loads the data for a multiple keys and returns the list of values.
Input Parameters
$internal
Document Contains the fields that are populated and used internally while loading the data.
Important:
This parameter is reserved for internal use by Integration Server. Do not modify or delete the value of this parameter.
keys
Document List Contains the field(s) for which you want to fetch the data from the data source. The field(s) in this document must be same as the field(s) in the key document of Dataloader service input signature. For more information on Dataloader service, see webMethods Service Development Help
loaderName
String Specifies the name of the Dataloader.
Output Parameters
$internal
Document Document containing the fields, which are used internally by Dataloader.
Usage Notes
You can only invoke the pub.graphql:load and pub.graphql:loadMany services from a data resolver service and always as a last step.
From a data resolver service, you can invoke the pub.graphql:load and pub.graphql:loadMany services only once.
You can either use a Dataloader or a resolver service to load data. If you are using a Dataloader to load data for a field, then you cannot use the resolver service to load data for the same field. Resolver service should be used only to identify and map the key(s) to pub.graphql:load or pub.graphql:loadMany service.