Table of Contents

Documentation / queries/IQueryResult

queries/IQueryResult

Interfaces

IQueryResult<TDataType>

Defines the result from executing a query.

Type Parameters

TDataType

Properties

data

readonly data: TDataType

Gets the data result from the query.

Defined in

queries/IQueryResult.ts:14

exceptionMessages

readonly exceptionMessages: string[]

Gets any exception messages that might have occurred.

Defined in

queries/IQueryResult.ts:49

exceptionStackTrace

readonly exceptionStackTrace: string

Gets the stack trace if there was an exception.

Defined in

queries/IQueryResult.ts:54

hasData

readonly hasData: boolean

Gets whether or not the query has data.

Defined in

queries/IQueryResult.ts:59

hasExceptions

readonly hasExceptions: boolean

Gets whether or not there are any exceptions that occurred.

Defined in

queries/IQueryResult.ts:39

isAuthorized

readonly isAuthorized: boolean

Gets whether or not the query was authorized to execute.

Defined in

queries/IQueryResult.ts:29

isSuccess

readonly isSuccess: boolean

Gets whether or not the query executed successfully.

Defined in

queries/IQueryResult.ts:24

isValid

readonly isValid: boolean

Gets whether or not the query is valid.

Defined in

queries/IQueryResult.ts:34

paging

readonly paging: PagingInfo

Gets the paging information.

Defined in

queries/IQueryResult.ts:19

validationResults

readonly validationResults: ValidationResult[]

Gets any validation errors. If this collection is empty, there are errors.

Defined in

queries/IQueryResult.ts:44