Skip to content

Commit de1cc4c

Browse files
committed
fix article that mentions contains not using index
1 parent e816351 commit de1cc4c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/cosmos-db/index-overview.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ Azure Cosmos DB currently supports three kinds of indexes.
9393
SELECT * FROM c WHERE IS_DEFINED(c.property)
9494
```
9595

96-
- String prefix matches (CONTAINS keyword will not leverage the range index):
96+
- String system functions:
97+
98+
```sql
99+
SELECT * FROM c WHERE CONTAINS(c.property, "value")
100+
```
97101

98102
```sql
99103
SELECT * FROM c WHERE STARTSWITH(c.property, "value")

0 commit comments

Comments
 (0)