You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-bindings-cosmosdb-v2-output.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ namespace CosmosDBSamplesV2
102
102
103
103
### Queue trigger, write one doc (v4 extension)
104
104
105
-
Apps using [Azure Cosmos DB extension version 4.x](./functions-bindings-cosmosdb-v2.md?tabs=extensionv4) or higher will have different attribute properties which are shown below. The following example shows a [C# function](functions-dotnet-class-library.md) that adds a document to a database, using data provided in message from Queue storage.
105
+
Apps using [Azure Cosmos DB extension version 4.x](./functions-bindings-cosmosdb-v2.md?tabs=extensionv4) or higher have different attribute properties which are shown below. The following example shows a [C# function](functions-dotnet-class-library.md) that adds a document to a database, using data provided in message from Queue storage.
106
106
107
107
```cs
108
108
usingMicrosoft.Azure.WebJobs;
@@ -206,7 +206,7 @@ public String cosmosDbQueryById(
206
206
207
207
#### HTTP trigger, save one document to database via return value
208
208
209
-
The following example shows a Java function whose signature is annotated with `@CosmosDBOutput` and has return value of type `String`. The JSON document returned by the function will be automatically written to the corresponding Azure Cosmos DB collection.
209
+
The following example shows a Java function whose signature is annotated with `@CosmosDBOutput` and has return value of type `String`. The JSON document returned by the function is automatically written to the corresponding Azure Cosmos DB collection.
210
210
211
211
```java
212
212
@FunctionName("WriteOneDoc")
@@ -338,7 +338,7 @@ The following example shows a Java function that writes multiple documents to Az
338
338
}
339
339
```
340
340
341
-
In the [Java functions runtime library](/java/api/overview/azure/functions/runtime), use the `@CosmosDBOutput` annotation on parameters that will be written to Azure Cosmos DB. The annotation parameter type should be `OutputBinding<T>`, where `T` is either a native Java type or a POJO.
341
+
In the [Java functions runtime library](/java/api/overview/azure/functions/runtime), use the `@CosmosDBOutput` annotation on parameters that is written to Azure Cosmos DB. The annotation parameter type should be `OutputBinding<T>`, where `T` is either a native Java type or a POJO.
342
342
343
343
::: zone-end
344
344
::: zone pivot="programming-language-typescript"
@@ -467,7 +467,7 @@ Here's the JavaScript code:
467
467
};
468
468
```
469
469
470
-
For bulk insert form the objects first and then run the stringify function. Here's the JavaScript code:
470
+
For bulk insert form the objects first and then, run the stringify function. Here's the JavaScript code:
0 commit comments