Skip to content

Commit e5e9f1c

Browse files
denreaSnehaGunda
andauthored
Update articles/cosmos-db/mongodb-indexing.md
Co-Authored-By: Sneha Gunda <[email protected]>
1 parent eeb403d commit e5e9f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/mongodb-indexing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ globaldb:PRIMARY> db.coll.createIndex( { "student_id" : 1, "university" : 1 }, {
113113
}
114114
```
115115
116-
In the preceding example, omitting the ```"university":1``` clause would return an error with the following message:
116+
In the preceding example, omitting the ```"university":1``` clause returns an error with the following message:
117117
118118
```"cannot create unique index over {student_id : 1.0} with shard key pattern { university : 1.0 }"```
119119

0 commit comments

Comments
 (0)