Skip to content

Commit 66d7b54

Browse files
authored
Merge pull request #2913 from GavinOsborn/patch-1
Remove grammatical mistake
2 parents 8c19a00 + 425aed6 commit 66d7b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/documentdb-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ By virtue of its deep commitment to JavaScript and JSON directly within the data
213213
* Efficient implementation of concurrency control, recovery, automatic indexing of the JSON object graphs directly in the database engine
214214
* Naturally expressing control flow, variable scoping, assignment and integration of exception handling primitives with database transactions directly in terms of the JavaScript programming language
215215

216-
The JavaScript logic registered at a collection level can then issue database operations on the documents of the given collection. Azure Cosmos DB implicitly wraps the JavaScript based stored procedures and triggers within an ambient ACID transactions with snapshot isolation across documents within a collection. During the course of its execution, if the JavaScript throws an exception, then the entire transaction is aborted. The resulting programming model is a very simple yet powerful. JavaScript developers get a “durable” programming model while still using their familiar language constructs and library primitives.
216+
The JavaScript logic registered at a collection level can then issue database operations on the documents of the given collection. Azure Cosmos DB implicitly wraps the JavaScript based stored procedures and triggers within an ambient ACID transactions with snapshot isolation across documents within a collection. During the course of its execution, if the JavaScript throws an exception, then the entire transaction is aborted. The resulting programming model is very simple yet powerful. JavaScript developers get a “durable” programming model while still using their familiar language constructs and library primitives.
217217

218218
The ability to execute JavaScript directly within the database engine in the same address space as the buffer pool enables performant and transactional execution of database operations against the documents of a collection. Furthermore, Cosmos DB database engine makes a deep commitment to the JSON and JavaScript eliminates any impedance mismatch between the type systems of application and the database.
219219

0 commit comments

Comments
 (0)