Skip to content

Commit 9af829a

Browse files
author
Dileep Rao
committed
Added note to clarify id field in mv
1 parent 2e724d6 commit 9af829a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/cosmos-db/nosql/materialized-views.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ The benefits of using Azure Cosmos DB Materiliazed Views include, but aren't lim
4343
- The Azure Cosmos DB implementation of materialized views is based on a pull model. This implementation doesn't affect write performance.
4444
- Azure Cosmos DB materialized views for NoSQL API caters to the Global Secondary Index use cases as well. Global Secondary Indexes are also used to maintain secondary data views and help in reducing cross-partition queries.
4545

46+
> [!NOTE]
47+
> The _id field in the materialized view is auto-populated with _rid from source document. This is done to maintain the one to one relationship between materialized view and source container documents.
48+
4649
## Prerequisites
4750

4851
- An existing Azure Cosmos DB account.

0 commit comments

Comments
 (0)