Skip to content

breeze-client / QueryResult

Interface: QueryResult<T> ​

Defined in: src/manager/entity-manager.ts:245

What an EntityManager.executeQuery call resolves with - as do EntityQuery.execute and RelationArray.load. T is what the query was built for: EntityQuery.from(Customer) gives a QueryResult<Customer>, whose results is Customer[]. It defaults to any.

Type Parameters ​

T ​

T = any

Properties ​

entityManager? ​

optional entityManager?: EntityManager

Defined in: src/manager/entity-manager.ts:251

EntityManager that executed the query


httpResponse? ​

optional httpResponse?: HttpResponse

Defined in: src/manager/entity-manager.ts:257

Raw response from the server


inlineCount? ​

optional inlineCount?: number

Defined in: src/manager/entity-manager.ts:253

Total number of results available on the server


query ​

query: string | EntityQuery<any>

Defined in: src/manager/entity-manager.ts:249

Query that was executed


results ​

results: T[]

Defined in: src/manager/entity-manager.ts:247

Top level entities returned. Excludes entities that are Deleted.


retrievedEntities? ​

optional retrievedEntities?: Entity[]

Defined in: src/manager/entity-manager.ts:255

All entities returned by the query. Differs from results when an expand is used. Includes entities that are Deleted.

Released under the MIT License.