Package2VersionQueryOptions: {
    fields?: Package2VersionFieldTypes;
    orderBy?: string;
    whereClause?: string;
    whereClauseItems?: string[];
}

Type declaration

  • Optional fields?: Package2VersionFieldTypes

    The fields to include in the returned data. Defaults to all fields.

  • Optional orderBy?: string

    The order-by clause for the query. Defaults to LastModifiedDate descending.

  • Optional whereClause?: string

    The where clause to filter the query. E.g., "WHERE Id IN ('%IDS%')";

  • Optional whereClauseItems?: string[]

    An array of where clause items to match. The query is chunked,meaning broken into multiple queries when the query length would exceed the maximum char limit. When defining items here, the whereClause argument must use this token for the item replacement: '%IDS%'.