Reduces the input object to the given attributes. Makes no duplicate eleminition.
Either "attributes" or "paths" parameter has to be set.
Parameter
attributes:
A list of attribute names to project on.paths
: A list of paths to project on. Is only used for key-value objects.
Example
PQL
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
output = PROJECT({ attributes = ['auction', 'bidder'] }, input) |
...