Skip to content

Commit 831b588

Browse files
committed
CosmosDB Output Acrolinx score
1 parent 7266efd commit 831b588

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ namespace CosmosDBSamplesV2
102102

103103
### Queue trigger, write one doc (v4 extension)
104104

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.
106106

107107
```cs
108108
using Microsoft.Azure.WebJobs;
@@ -206,7 +206,7 @@ public String cosmosDbQueryById(
206206

207207
#### HTTP trigger, save one document to database via return value
208208

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.
210210

211211
```java
212212
@FunctionName("WriteOneDoc")
@@ -338,7 +338,7 @@ The following example shows a Java function that writes multiple documents to Az
338338
}
339339
```
340340

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.
342342

343343
::: zone-end
344344
::: zone pivot="programming-language-typescript"
@@ -467,7 +467,7 @@ Here's the JavaScript code:
467467
};
468468
```
469469

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:
471471

472472
```javascript
473473
module.exports = async function (context) {

0 commit comments

Comments
 (0)