Share via


ChangeFeedDocumentClient.CreateDocumentQuery<T> Method

Definition

Creates an instance of IQueryable.

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>
override this.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

Document type.

Parameters

documentCollectionUri
String

Collection Uri.

querySpec
SqlQuerySpec

Instance of SqlQuerySpec to execute.

feedOptions
FeedOptions

Options for the query.

Returns

An IQueryable.

Implements

Applies to