Skip to content

Interface: ExpandItem ​

Defined in: parser/ast.ts:148

Single $expand item — one navigation property with optional nested query options

Properties ​

count? ​

readonly optional count?: boolean

Defined in: parser/ast.ts:157

Nested $count=true: annotate the expanded collection with nav@odata.count.


countOnly? ​

readonly optional countOnly?: boolean

Defined in: parser/ast.ts:169

$expand=nav/$count: only nav@odata.count is returned, not the related entities. Only filter and search may be set alongside it.


expand? ​

readonly optional expand?: ExpandNode

Defined in: parser/ast.ts:155


filter? ​

readonly optional filter?: FilterNode

Defined in: parser/ast.ts:150


levels? ​

readonly optional levels?: number | "max"

Defined in: parser/ast.ts:164

Nested $levels (a positive integer or max). ODataQueryPipe replaces it by the equivalent nested $expands, so query translators never see it.


readonly navigationProperty: string

Defined in: parser/ast.ts:149


orderBy? ​

readonly optional orderBy?: OrderByItem[]

Defined in: parser/ast.ts:152


readonly optional search?: SearchNode

Defined in: parser/ast.ts:159

Nested $search: only related entities matching the search are expanded.


select? ​

readonly optional select?: SelectNode

Defined in: parser/ast.ts:151


skip? ​

readonly optional skip?: number

Defined in: parser/ast.ts:154


top? ​

readonly optional top?: number

Defined in: parser/ast.ts:153