QueryDefinition Class
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.
Defines a Cosmos SQL query
public class QueryDefinition
type QueryDefinition = class
Public Class QueryDefinition
- Inheritance
-
QueryDefinition
Constructors
QueryDefinition(String) |
Create a QueryDefinition |
Properties
QueryText |
Gets the text of the Azure Cosmos DB SQL query. |
Methods
GetQueryParameters() |
Returns the names and values of parameters in this QueryDefinition. |
WithParameter(String, Object) |
Add parameters to the SQL query |
WithParameterStream(String, Stream) |
Add parameters with Stream Value to the SQL query. |
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