Skip to content

Commit 2537ae5

Browse files
committed
CR Revsion
1 parent 982895e commit 2537ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/stored-procedures-triggers-udfs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Transactions are natively integrated into the Azure Cosmos DB JavaScript program
6262
Stored procedures and triggers are always executed on the primary replica of an Azure Cosmos container. This feature ensures that reads from stored procedures offer [strong consistency](consistency-levels-tradeoffs.md). Queries using user-defined functions can be executed on the primary or any secondary replica. Stored procedures and triggers are intended to support transactional writes – meanwhile read-only logic is best implemented as application-side logic and queries using the [Azure Cosmos DB SQL API SDKs](sql-api-dotnet-samples.md), will help you saturate the database throughput.
6363

6464
> [!TIP]
65-
> Queries executed from inside stored procedure or trigger may not see document changes done by the same script transaction. The query will only see changes done by the time when script transaction is started. This applies both to SQL queries, such as `getContent().getCollection.queryDocuments()`, and integrated language queries, such as `getContext().getCollection().filter()`.
65+
> The queries executed within a stored procedure or trigger may not see changes to items made by the same script transaction. This statement applies both to SQL queries, such as `getContent().getCollection.queryDocuments()`, as well as integrated language queries, such as `getContext().getCollection().filter()`.
6666
6767
## Bounded execution
6868

0 commit comments

Comments
 (0)