Skip to content

Commit 6ba3385

Browse files
authored
Update functions-bindings-cosmosdb-v2-input.md
1 parent a6e1fe4 commit 6ba3385

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-functions/functions-bindings-cosmosdb-v2-input.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,15 +449,15 @@ This section contains examples that require version 3.x of Azure Cosmos DB exten
449449

450450
The examples refer to a simple `ToDoItem` type:
451451

452-
:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/CosmosDB/CosmosInputBindingFunctions.cs" id="docsnippet_qtrigger_with_cosmosdb_inputbinding_todo_model" :::
452+
:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/CosmosDB/CosmosInputBindingFunctions.cs" range="244-264":::
453453

454454
<a id="queue-trigger-look-up-id-from-json-isolated"></a>
455455

456456
### Queue trigger, look up ID from JSON
457457

458458
The following example shows a function that retrieves a single document. The function is triggered by a JSON message in the storage queue. The queue trigger parses the JSON into an object of type `ToDoItemLookup`, which contains the ID and partition key value to retrieve. That ID and partition key value are used to return a `ToDoItem` document from the specified database and collection.
459459

460-
:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/CosmosDB/CosmosInputBindingFunctions.cs" id="docsnippet_qtrigger_with_cosmosdb_inputbinding" :::
460+
:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/Extensions/CosmosDB/CosmosInputBindingFunctions.cs" range="244-264":::
461461

462462
---
463463

0 commit comments

Comments
 (0)