Skip to content

Commit b87994b

Browse files
Merge pull request #223514 from seesharprun/patch-3
Cosmos DB | Update Graph introduction
2 parents 235fb9a + 96b7f5e commit b87994b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/cosmos-db/gremlin/introduction.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ g.addV('person').
119119
property('age', 44)
120120
```
121121

122+
> [!TIP]
123+
> If you are following along with these examples, you can use any of these properties (`age`, `firstName`, `lastName`) as a partition key when you create your graph. The `id` property is not supported as a partition key in a graph.
124+
122125
Next, the following Gremlin statement inserts a *knows* edge between **Thomas** and **Robin**.
123126

124127
```console

0 commit comments

Comments
 (0)