interface SuggestedCursorableSortNotice {
    category: "sorting";
    code: "suggestedCursorableSort";
    grade: "C";
    hint: string;
    level: "warning";
    originalSort?: PropertySortV3[];
    resultExpression: string;
    suggestedIndex: ContainerSubObjectIdentifier;
    suggestedSort: PropertySortV3[];
}

Properties

category: "sorting"
code: "suggestedCursorableSort"
grade: "C"
hint: string
level: "warning"
originalSort?: PropertySortV3[]

The user-stated sort, when present. Omitted when the query had no sort.

resultExpression: string

Identifier for the result set expression that the notice applies to.

The cursorable index that backs suggestedSort, of the form (space, containerExternalId, identifier).

suggestedSort: PropertySortV3[]

An extension to the input sort, with new property sorts appended at the end. Properties used in equality filters might also be prepended. This suggested sort is equivalent to the user-provided sort, except for tie-breaks, and matches the index given in suggestedIndex, which makes the sort cursorable. If no sort was requested, it proposes a cursorable sort.