Interface: ExpandItem
Defined in: parser/ast.ts:148
Single $expand item — one navigation property with optional nested query options
Properties
count?
readonlyoptionalcount?:boolean
Defined in: parser/ast.ts:157
Nested $count=true: annotate the expanded collection with nav@odata.count.
countOnly?
readonlyoptionalcountOnly?: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?
readonlyoptionalexpand?:ExpandNode
Defined in: parser/ast.ts:155
filter?
readonlyoptionalfilter?:FilterNode
Defined in: parser/ast.ts:150
levels?
readonlyoptionallevels?: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.
navigationProperty
readonlynavigationProperty:string
Defined in: parser/ast.ts:149
orderBy?
readonlyoptionalorderBy?:OrderByItem[]
Defined in: parser/ast.ts:152
search?
readonlyoptionalsearch?:SearchNode
Defined in: parser/ast.ts:159
Nested $search: only related entities matching the search are expanded.
select?
readonlyoptionalselect?:SelectNode
Defined in: parser/ast.ts:151
skip?
readonlyoptionalskip?:number
Defined in: parser/ast.ts:154
top?
readonlyoptionaltop?:number
Defined in: parser/ast.ts:153