Represents a SQL query in the Azure Cosmos DB service.
Queries with inputs should be parameterized to protect against SQL injection.
Parameterized SQL Query
const query: SqlQuerySpec = { query: "SELECT * FROM Families f where f.lastName = @lastName", parameters: [ {name: "@lastName", value: "Wakefield"} ] };
The parameters you provide in the query
The text of the SQL query
Generated using TypeDoc
Represents a SQL query in the Azure Cosmos DB service.
Queries with inputs should be parameterized to protect against SQL injection.
Parameterized SQL Query
const query: SqlQuerySpec = { query: "SELECT * FROM Families f where f.lastName = @lastName", parameters: [ {name: "@lastName", value: "Wakefield"} ] };