Skip to content

Commit 258fd96

Browse files
committed
Removed more notes
1 parent 234e145 commit 258fd96

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,7 @@ The trigger doesn't indicate whether a document was updated or inserted, it just
254254

255255
## Input
256256

257-
The Azure Cosmos DB input binding retrieves one or more Azure Cosmos DB documents and passes them to the input parameter of the function. The document ID or query parameters can be determined based on the trigger that invokes the function.
258-
259-
>[!NOTE]
260-
> Don't use Azure Cosmos DB input or output bindings if you're using MongoDB API on a Cosmos DB account. Data corruption is possible.
257+
The Azure Cosmos DB input binding uses the SQL API to retrieve one or more Azure Cosmos DB documents and passes them to the input parameter of the function. The document ID or query parameters can be determined based on the trigger that invokes the function.
261258

262259
## Input - examples
263260

@@ -1254,10 +1251,7 @@ In JavaScript functions, updates are not made automatically upon function exit.
12541251

12551252
## Output
12561253

1257-
The Azure Cosmos DB output binding lets you write a new document to an Azure Cosmos DB database.
1258-
1259-
>[!NOTE]
1260-
> Don't use Azure Cosmos DB input or output bindings if you're using MongoDB API on a Cosmos DB account. Data corruption is possible.
1254+
The Azure Cosmos DB output binding lets you write a new document to an Azure Cosmos DB database using the SQL API.
12611255

12621256
## Output - examples
12631257

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,7 @@ The trigger doesn't indicate whether a document was updated or inserted, it just
216216

217217
## Input
218218

219-
The Azure Cosmos DB input binding retrieves one or more Azure Cosmos DB documents and passes them to the input parameter of the function. The document ID or query parameters can be determined based on the trigger that invokes the function.
220-
221-
>[!NOTE]
222-
> Don't use Azure Cosmos DB input or output bindings if you're using MongoDB API on a Cosmos DB account. Data corruption is possible.
219+
The Azure Cosmos DB input binding uses the SQL API to retrieve one or more Azure Cosmos DB documents and passes them to the input parameter of the function. The document ID or query parameters can be determined based on the trigger that invokes the function.
223220

224221
## Input - examples
225222

@@ -1186,10 +1183,7 @@ In JavaScript functions, updates are not made automatically upon function exit.
11861183

11871184
## Output
11881185

1189-
The Azure Cosmos DB output binding lets you write a new document to an Azure Cosmos DB database.
1190-
1191-
>[!NOTE]
1192-
> Don't use Azure Cosmos DB input or output bindings if you're using MongoDB API on a Cosmos DB account. Data corruption is possible.
1186+
The Azure Cosmos DB output binding lets you write a new document to an Azure Cosmos DB database using the SQL API.
11931187

11941188
## Output - examples
11951189

0 commit comments

Comments
 (0)