Skip to content

Commit cfa605a

Browse files
authored
Merge pull request #110126 from CodeNotFoundException/patch-1
Update hierarchical-partition-keys.md by adding the full partition key path
2 parents 1ea942b + cd94b07 commit cfa605a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

articles/cosmos-db/hierarchical-partition-keys.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ PaymentEvent item = new PaymentEvent()
289289
PartitionKey partitionKey = new PartitionKeyBuilder()
290290
.Add(item.TenantId)
291291
.Add(item.UserId)
292+
.Add(item.SessionId)
292293
.Build();
293294

294295
// Create the item in the container

0 commit comments

Comments
 (0)