Delen via


QueryDefinition Class

Definition

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