Share via


IDocumentQuery<T> Interface

Definition

Provides methods to support query pagination and asynchronous execution in the Azure Cosmos DB service.

public interface IDocumentQuery<T> : IDisposable, Microsoft.Azure.Documents.Linq.IDocumentQuery
type IDocumentQuery<'T> = interface
    interface IDocumentQuery
    interface IDisposable
Public Interface IDocumentQuery(Of T)
Implements IDisposable, IDocumentQuery

Type Parameters

T

Source Query Type

Implements

Properties

HasMoreResults

Gets a value indicating whether there are potentially additional results that can be returned from the query in the Azure Cosmos DB service.

Methods

ExecuteNextAsync(CancellationToken)

Executes the query and retrieves the next page of results as dynamic objects in the Azure Cosmos DB service.

ExecuteNextAsync<TResult>(CancellationToken)

Executes the query and retrieves the next page of results in the Azure Cosmos DB service.

Applies to