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
Project Operator
output = PROJECT({
                  attributes = ['auction', 'bidder']
                 }, input)
CQL
Project Operator
SELECT auction, bidder FROM input