Hunter B Here are the steps you can follow for your scenario:
- Create a HTTP-triggered function in your function app to receive the data via query parameters (or request body).
- Use Input binding to get the data from SQL database (Azure SQL input binding) and return data as JSON object to the client app. Here is the sample reference HTTP trigger, get row by ID from query string and more samples/full code snippet are available in InputBindingSamples.
Alternatively, you can also use Microsoft.Data.SqlClient
library instead of extension. I hope this helps and let me know if any questions.