SqlQuerySpec interface

Represents a SQL query in the Azure Cosmos DB service. Queries with inputs should be parameterized to protect against SQL injection.

Properties

parameters

The parameters you provide in the query

query

The text of the SQL query

Property Details

parameters

The parameters you provide in the query

parameters?: SqlParameter[]

Property Value

query

The text of the SQL query

query: string

Property Value

string