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
exceptionMessages
readonly
exceptionMessages:string
[]
Gets any exception messages that might have occurred.
Defined in
exceptionStackTrace
readonly
exceptionStackTrace:string
Gets the stack trace if there was an exception.
Defined in
hasData
readonly
hasData:boolean
Gets whether or not the query has data.
Defined in
hasExceptions
readonly
hasExceptions:boolean
Gets whether or not there are any exceptions that occurred.
Defined in
isAuthorized
readonly
isAuthorized:boolean
Gets whether or not the query was authorized to execute.
Defined in
isSuccess
readonly
isSuccess:boolean
Gets whether or not the query executed successfully.
Defined in
isValid
readonly
isValid:boolean
Gets whether or not the query is valid.
Defined in
paging
readonly
paging:PagingInfo
Gets the paging information.
Defined in
validationResults
readonly
validationResults:ValidationResult
[]
Gets any validation errors. If this collection is empty, there are errors.