IChangeFeedDocumentClient.CreateDocumentQuery<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
IQueryable<T>
The query result set.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET