I have a collection of temperature values with timestamps in Azure Cosmos DB from which I want to query the average temperature value from a particular upload date.
I currently have a working solution using the @azure/cosmos client library, which allows me to dynamically build and execute queries against my temperature collection from an Azure Function.
I was wondering if it was possible to execute dynamic SQL queries against a Cosmos DB input binding, rather than using the cosmos client library, simply for performance benefits?
Also, if this is possible, would using the input binding actually afford a performance benefit?