title: In Azure Functions, run Cosmos DB query in code
body: <p>Can I run a Cosmos DB Query in the code itself? All I could do right now is run a query before the code runs (input). What I need is to first run some code and then grab data in cosmos DB. How do I do this using javascript?</p>