Search code examples
azureazure-cosmosdbazure-cloud-servicesazure-functions

Can I get all the documents from documentdb in azure functions without specifying their id's?


I want to get all the documents from Azure documentDB in Azure Function. Is it possible ? I am using Node.js. If it is possible then how can I do it ?


Solution

  • Unfortunately, our DocumentDB input binding only supports binding to a single document by ID. We have an issue tracking in our repo here to add support for allowing binding to multiple items, as well as supporting queries.

    Feel free to chime in on that issue with more details on your scenarios. Thanks :) I agree with you that we should improve this ASAP.