The union function finds the union of two sets

Description

The union function finds the union of two sets

Example

Find the disk space task from all test instances and disk capacity task from all production instances, and their version

union(
   instance[name like '%test%']/task[name like '%disk space%'], 
   instance[name like '%prod%']/task[name like '%disk cap%']
)->t{}/$t/version

Syntax

union(expression, expression)

Parameters

Type Description
Expresssion Expression that gives a set of values

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment