Skip to content

Commit 3f805da

Browse files
committed
Merge changes from customer
2 parents 58e4316 + 3128a6d commit 3f805da

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

articles/cosmos-db/nosql/query/computed-properties.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,26 @@ Updating computed properties on an existing container is not supported in Python
225225
> [!TIP]
226226
> Every time you update container properties, the old values are overwritten. If you have existing computed properties and want to add new ones, be sure that you add both new and existing computed properties to the collection.
227227
228+
### Create computed properties using azure data explorer in azure portal
229+
230+
You can create computed properties in azure data explorer in azure portal also.
231+
232+
- Click the *Scale & Settings* under the container name.
233+
- Click the *computed properties* tab.
234+
- Create and define the compute property. Below is the sample computed property.
235+
236+
```json
237+
[
238+
{
239+
"name": "cp_lowerName",
240+
"query": "SELECT VALUE LOWER(c.name) FROM c"
241+
}
242+
]
243+
```
244+
- Click *Save* to save the computed property.
245+
246+
![create_computed_property_using_data_explorer](https://i.imgur.com/47aQNsw.png)
247+
228248
## Use computed properties in queries
229249

230250
Computed properties can be referenced in queries the same way that persisted properties are referenced. Values for computed properties that aren't indexed are evaluated during runtime by using the computed property definition. If a computed property is indexed, the index is used the same way that it's used for persisted properties, and the computed property is evaluated on an as-needed basis. We recommend that you [add indexes on your computed properties](#index-computed-properties) for the best cost and performance.

0 commit comments

Comments
 (0)