Share via


IChangeFeedDocumentClient.CreateDocumentQuery<T> Method

Definition

Extension method to create a query for documents in the Azure DocumentDB database service.

public System.Linq.IQueryable<T> CreateDocumentQuery<T> (string documentCollectionUri, Microsoft.Azure.Documents.SqlQuerySpec querySpec, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = default);
abstract member CreateDocumentQuery : string * Microsoft.Azure.Documents.SqlQuerySpec * Microsoft.Azure.Documents.Client.FeedOptions -> System.Linq.IQueryable<'T>
Public Function CreateDocumentQuery(Of T) (documentCollectionUri As String, querySpec As SqlQuerySpec, Optional feedOptions As FeedOptions = Nothing) As IQueryable(Of T)

Type Parameters

T

The type of object to query.

Parameters

documentCollectionUri
String

The URI of the document collection.

querySpec
SqlQuerySpec

The sql query.

feedOptions
FeedOptions

Options for the query.

Returns

The query result set.

Applies to