Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 763 Bytes

functions-bindings-cosmosdb-v2-trigger-dotnet-isolated-types.md

File metadata and controls

19 lines (15 loc) · 763 Bytes
author ms.service ms.topic ms.date ms.author
mattchenderson
azure-functions
include
07/10/2023
mahender

When you want the function to process a single document, the Cosmos DB trigger can bind to the following types:

Type Description
JSON serializable types Functions tries to deserialize the JSON data of the document from the Cosmos DB change feed into a plain-old CLR object (POCO) type.

When you want the function to process a batch of documents, the Cosmos DB trigger can bind to the following types:

Type Description
IEnumerable<T>where T is a JSON serializable type An enumeration of entities included in the batch. Each entry represents one document from the Cosmos DB change feed.