IDocumentClient.CreateDocumentCollectionQuery
Method
Definition
Overloads
| CreateDocumentCollectionQuery(Uri, String, FeedOptions) |
Method to create a query for document collections in the Azure DocumentDB database service. |
| CreateDocumentCollectionQuery(Uri, SqlQuerySpec, FeedOptions) |
Method to create a query for document collections in the Azure DocumentDB database service. |
| CreateDocumentCollectionQuery(String, String, FeedOptions) |
Overloaded. This method creates a query for collections under an Azure DocumentDB database using a SQL statement. It returns an IQueryable{DocumentCollection}. |
| CreateDocumentCollectionQuery(Uri, FeedOptions) |
Method to create a query for document collections in the Azure DocumentDB database service. |
| CreateDocumentCollectionQuery(String, FeedOptions) |
Overloaded. This method creates a query for collections under an Azure DocumentDB database service. It returns An IOrderedQueryable{DocumentCollection>. |
| CreateDocumentCollectionQuery(String, SqlQuerySpec, FeedOptions) |
Overloaded. This method creates a query for collections under an Azure DocumentDB database using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec. |
CreateDocumentCollectionQuery(Uri, String, FeedOptions)
Method to create a query for document collections in the Azure DocumentDB database service.
public System.Linq.IQueryable<dynamic> CreateDocumentCollectionQuery (Uri databaseUri, string sqlExpression, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- databaseUri
- Uri
The URI to the database.
- sqlExpression
- String
The sql query.
- feedOptions
- FeedOptions
(Optional) The FeedOptions for processing the query results feed.
The query result set.
CreateDocumentCollectionQuery(Uri, SqlQuerySpec, FeedOptions)
Method to create a query for document collections in the Azure DocumentDB database service.
public System.Linq.IQueryable<dynamic> CreateDocumentCollectionQuery (Uri databaseUri, Microsoft.Azure.Documents.SqlQuerySpec querySpec, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- databaseUri
- Uri
The URI to the database.
- querySpec
- SqlQuerySpec
The sql query.
- feedOptions
- FeedOptions
(Optional) The FeedOptions for processing the query results feed.
The query result set.
CreateDocumentCollectionQuery(String, String, FeedOptions)
Overloaded. This method creates a query for collections under an Azure DocumentDB database using a SQL statement. It returns an IQueryable{DocumentCollection}.
public System.Linq.IQueryable<dynamic> CreateDocumentCollectionQuery (string databaseLink, string sqlExpression, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- databaseLink
- String
The link to the parent database resource.
- sqlExpression
- String
The SQL statement.
- feedOptions
- FeedOptions
The options for processing the query result feed. For details, see FeedOptions
An IQueryable{dynamic} that can evaluate the query with the provided SQL statement.
CreateDocumentCollectionQuery(Uri, FeedOptions)
Method to create a query for document collections in the Azure DocumentDB database service.
public System.Linq.IOrderedQueryable<Microsoft.Azure.Documents.DocumentCollection> CreateDocumentCollectionQuery (Uri databaseUri, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- databaseUri
- Uri
The URI of the parent database.
- feedOptions
- FeedOptions
(Optional) The FeedOptions for processing the query results feed.
The query result set.
CreateDocumentCollectionQuery(String, FeedOptions)
Overloaded. This method creates a query for collections under an Azure DocumentDB database service. It returns An IOrderedQueryable{DocumentCollection>.
public System.Linq.IOrderedQueryable<Microsoft.Azure.Documents.DocumentCollection> CreateDocumentCollectionQuery (string databaseLink, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- databaseLink
- String
The link to the parent database resource.
- feedOptions
- FeedOptions
The options for processing the query result feed. For details, see FeedOptions
An IOrderedQueryable{DocumentCollection} that can evaluate the query with the provided SQL statement.
CreateDocumentCollectionQuery(String, SqlQuerySpec, FeedOptions)
Overloaded. This method creates a query for collections under an Azure DocumentDB database using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec.
public System.Linq.IQueryable<dynamic> CreateDocumentCollectionQuery (string databaseLink, Microsoft.Azure.Documents.SqlQuerySpec querySpec, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- databaseLink
- String
The link to the parent database resource.
- querySpec
- SqlQuerySpec
The SqlQuerySpec instance containing the SQL expression.
- feedOptions
- FeedOptions
The options for processing the query result feed. For details, see FeedOptions
An IQueryable{dynamic} that can evaluate the query with the provided SQL statement.