In some instances we may want to run multiple Queries in one Operation. Fortunately this is as simple as declaring the other desired Queries below the existing Queries, again describing the fields to be returned, and called appropriately with any required arguments.
Multiple queries multiple variable arguments
In the event that we want to use the same Query multiple times (perhaps with different arguments) within the same Operation we will need to use an Alias. This is done by prefixing the Query with the desired Alias followed by a colon.
For example, imagine we want to get detailed information about one PostDetails that we will specify with
where and then simple information about a maximum of 5 other posts using
limit. Please see the below example: