---
url: /nestjs-odata/api/generated/interfaces/ODataQueryResult.md
---
# Interface: ODataQueryResult\<T>

Defined in: [query/odata-query.types.ts:63](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/query/odata-query.types.ts#L63)

Result of executing a translated OData query.
Used by IQueryTranslator.execute() to return structured data to the controller.

select is included so the controller can build the correct @odata.context URL.

## Type Parameters

### T

`T` = `unknown`

## Properties

### applyProperties?

> `readonly` `optional` **applyProperties?**: `string`\[]

Defined in: [query/odata-query.types.ts:71](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/query/odata-query.types.ts#L71)

Property names present in aggregation output (for context URL construction)

***

### count?

> `readonly` `optional` **count?**: `number`

Defined in: [query/odata-query.types.ts:65](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/query/odata-query.types.ts#L65)

***

### isAggregated?

> `readonly` `optional` **isAggregated?**: `boolean`

Defined in: [query/odata-query.types.ts:69](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/query/odata-query.types.ts#L69)

True when the result was produced by a $apply aggregation pipeline

***

### items

> `readonly` **items**: `T`\[]

Defined in: [query/odata-query.types.ts:64](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/query/odata-query.types.ts#L64)

***

### nextLink?

> `readonly` `optional` **nextLink?**: `string`

Defined in: [query/odata-query.types.ts:66](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/query/odata-query.types.ts#L66)

***

### select?

> `readonly` `optional` **select?**: [`SelectNode`](SelectNode.md)

Defined in: [query/odata-query.types.ts:67](https://github.com/cberd1509/nestjs-odata/blob/a42974292d62fe5da337a603d3b22d57c08cbf68/packages/core/src/query/odata-query.types.ts#L67)
