AZpublic-preview-azure-cosmos-db-computed-properties: Public Preview: Azure Cosmos DB computed properties

Published . Last updated .

Microsoft Azure update AZpublic-preview-azure-cosmos-db-computed-properties.

Azure update ID
AZpublic-preview-azure-cosmos-db-computed-properties
Services
Azure Cosmos DB
Tags
Features, Microsoft Build

Release overview

Release status
In preview
Public preview
May 2023
Product categories
Databases, Internet of Things

Azure Cosmos DB now supports computed properties. These properties aren't persisted in items themselves and instead have values derived from existing item properties, expressed as a query. You can reference computed properties in your business logic queries as if they were any other persisted property. Using computed properties makes it easier to write complex logic once and reference it multiple times. You can also add a single index on these properties or use them as part of a composite index for increased performance. Computed properties unlock new scenarios for queries including defining a property based on a system function and then indexing the property and ordering by or grouping by it.

Learn More