Code Model
Business Units
Expressions
Collection Manipulations

Collection Manipulations

Intersect

Represents intersecting collections.

{
    "ExpressionType": "Intersect",
    "Values": {
        "ExpressionType": "ExecuteQuery",
        "PageNumber": null,
        "PageSize": null,
        "Arguments": [
            {
                "LogicalId": "Name",
                "Value": {
                    "ExpressionType": "GetInput",
                    "Extension": null,
                    "LogicalId": "Name",
                    "Description": null
                }
            }
        ],
        "Extension": null,
        "LogicalId": "RetrieveQuestionTemplateByName",
        "Description": null
    }
}

Union

Represents uniting collections.

{
   "ExpressionType": "Union",
   "Values": {
       "ExpressionType": "ExecuteQuery",
       "PageNumber": null,
       "PageSize": null,
       "Arguments": [
       {
           "LogicalId": "Name",
           "Value": {
               "ExpressionType": "GetInput",
               "Extension": null,
               "LogicalId": "Name",
               "Description": null
           }
       }
       ],
       "Extension": null,
       "LogicalId": "RetrieveQuestionTemplateByName",
       "Description": null
   }
}

Distinct

Represents filtering distinct items in a collection.

{
   "ExpressionType": "Distinct",
   "Values": {
       "ExpressionType": "ExecuteQuery",
       "PageNumber": null,
       "PageSize": null,
       "Arguments": [
       {
           "LogicalId": "Name",
           "Value": {
               "ExpressionType": "GetInput",
               "Extension": null,
               "LogicalId": "Name",
               "Description": null
           }
       }
       ],
       "Extension": null,
       "LogicalId": "RetrieveQuestionTemplateByName",
       "Description": null
   }
}

SortAsc

Represents sorting a collection in ascending order.

{
    "ExpressionType": "SortAsc",
    "SortBy": "Id",
    "Values": {
        "ExpressionType": "ExecuteQuery",
        "PageNumber": null,
        "PageSize": null,
        "Arguments": [
        {
            "LogicalId": "Name",
            "Value": {
                "ExpressionType": "GetInput",
                "Extension": null,
                "LogicalId": "Name",
                "Description": null
            }
        }
        ],
        "Extension": null,
        "LogicalId": "RetrieveQuestionTemplateByName",
        "Description": null
    }
}

SortDesc

Represents sorting a collection in descending order.

{
    "ExpressionType": "SortDesc",
    "SortBy": "Id",
    "Values": {
        "ExpressionType": "ExecuteQuery",
        "PageNumber": null,
        "PageSize": null,
        "Arguments": [
        {
            "LogicalId": "Name",
            "Value": {
                "ExpressionType": "GetInput",
                "Extension": null,
                "LogicalId": "Name",
                "Description": null
            }
        }
        ],
        "Extension": null,
        "LogicalId": "RetrieveQuestionTemplateByName",
        "Description": null
    }
}