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

Type declaration

  • Optionalfields?: Package2VersionFieldTypes

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

  • OptionalorderBy?: string

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

  • OptionalwhereClause?: string

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

  • OptionalwhereClauseItems?: 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%'.