Query class

Constructors

Query((continuationToken: string, done: QueryCallback) => void)

Properties

continuationToken
hasMoreResults

Methods

next()
next(QueryCallback)

Gets the next page of results for this query.

next(string)
next(string, QueryCallback)

Constructor Details

Query((continuationToken: string, done: QueryCallback) => void)

new Query(executeQueryFn: (continuationToken: string, done: QueryCallback) => void)

Parameters

executeQueryFn

(continuationToken: string, done: QueryCallback) => void

Property Details

continuationToken

continuationToken: string

Property Value

string

hasMoreResults

hasMoreResults: boolean

Property Value

boolean

Method Details

next()

function next()

Returns

Promise<ResultWithHttpResponse<QueryResult>>

next(QueryCallback)

Gets the next page of results for this query.

function next(done: QueryCallback)

Parameters

next(string)

function next(continuationToken: string)

Parameters

continuationToken

string

Returns

Promise<ResultWithHttpResponse<QueryResult>>

next(string, QueryCallback)

function next(continuationToken: string, done: QueryCallback)

Parameters

continuationToken

string