DocumentClient.CreateTriggerQuery
Method
Definition
Overloads
| CreateTriggerQuery(Uri, String, FeedOptions) |
Extension method to create query for triggers in the Azure DocumentDB database service. |
| CreateTriggerQuery(Uri, SqlQuerySpec, FeedOptions) |
Extension method to create query for triggers in the Azure DocumentDB database service. |
| CreateTriggerQuery(String, String, FeedOptions) |
Overloaded. This method creates a query for triggers under a collection in an Azure DocumentDB database service. It returns an IQueryable{dynamic}. |
| CreateTriggerQuery(String, SqlQuerySpec, FeedOptions) |
Overloaded. This method creates a query for triggers under a collection in 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. |
| CreateTriggerQuery(String, FeedOptions) |
Overloaded. This method creates a query for triggers under a collection in an Azure DocumentDB database service. It returns An IOrderedQueryable{Trigger}. |
| CreateTriggerQuery(Uri, FeedOptions) |
Extension method to create query for triggers in the Azure DocumentDB database service. |
CreateTriggerQuery(Uri, String, FeedOptions)
Extension method to create query for triggers in the Azure DocumentDB database service.
public System.Linq.IQueryable<dynamic> CreateTriggerQuery (Uri triggersUri, string sqlExpression, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- triggersUri
- Uri
the URI to the triggers.
- sqlExpression
- String
The sql query.
- feedOptions
- FeedOptions
The options for processing the query results feed.
The query result set.
CreateTriggerQuery(Uri, SqlQuerySpec, FeedOptions)
Extension method to create query for triggers in the Azure DocumentDB database service.
public System.Linq.IQueryable<dynamic> CreateTriggerQuery (Uri triggersUri, Microsoft.Azure.Documents.SqlQuerySpec querySpec, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- triggersUri
- Uri
the URI to the triggers.
- querySpec
- SqlQuerySpec
The sql query.
- feedOptions
- FeedOptions
The options for processing the query results feed.
The query result set.
CreateTriggerQuery(String, String, FeedOptions)
Overloaded. This method creates a query for triggers under a collection in an Azure DocumentDB database service. It returns an IQueryable{dynamic}.
public System.Linq.IQueryable<dynamic> CreateTriggerQuery (string collectionLink, string sqlExpression, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- collectionLink
- String
The link to the parent collection 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.
Remarks
Refer to https://msdn.microsoft.com/en-us/library/azure/dn782250.aspx and http://azure.microsoft.com/documentation/articles/documentdb-sql-query/ for syntax and examples.
CreateTriggerQuery(String, SqlQuerySpec, FeedOptions)
Overloaded. This method creates a query for triggers under a collection in 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> CreateTriggerQuery (string collectionLink, Microsoft.Azure.Documents.SqlQuerySpec querySpec, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- collectionLink
- String
The link to the parent collection 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{Trigger} that can evaluate the query with the provided SQL statement.
Remarks
Refer to https://msdn.microsoft.com/en-us/library/azure/dn782250.aspx and http://azure.microsoft.com/documentation/articles/documentdb-sql-query/ for syntax and examples.
CreateTriggerQuery(String, FeedOptions)
Overloaded. This method creates a query for triggers under a collection in an Azure DocumentDB database service. It returns An IOrderedQueryable{Trigger}.
public System.Linq.IOrderedQueryable<Microsoft.Azure.Documents.Trigger> CreateTriggerQuery (string collectionLink, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- collectionLink
- String
The link to the parent collection resource.
- feedOptions
- FeedOptions
The options for processing the query result feed. For details, see FeedOptions
An IOrderedQueryable{Trigger} that can evaluate the query with the provided SQL statement.
CreateTriggerQuery(Uri, FeedOptions)
Extension method to create query for triggers in the Azure DocumentDB database service.
public System.Linq.IOrderedQueryable<Microsoft.Azure.Documents.Trigger> CreateTriggerQuery (Uri triggersUri, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- triggersUri
- Uri
the URI to the triggers.
- feedOptions
- FeedOptions
The options for processing the query results feed.
The query result set.